Dear ROMS users,
I can run my model case successfully in a little cluster using gfortran. However, when I move my model code and data to a NEC computer which used sxmpif90 fortran compiler, I have an error:
*** 194 Could not allocate in ALLOCATE PROG=mod_ocean.allocate_ocean ELN=94(400500c88)
Called from mod_arrays ELN=63(400451ba4)
Called from ocean_control_mod.roms_initialize ELN=101(400001ac8)
Called from ocean ELN=97(400000e68)
Is there someone can give me a suggestion what caused this problem?
There is a problem when run ROMS in NEC computer
Re: There is a problem when run ROMS in NEC computer
When I #undef SEDIMENT, the model can run one step, after that there is some message:
STEP Day HH:MM:SS KINETIC_ENRG POTEN_ENRG TOTAL_ENRG NET_VOLUME
C => (i,j,k) Cu Cv Cw Max Speed
0 0 00:00:00 2.361273E-14 2.194795E+04 2.194795E+04 5.944509E+15
(360,250,19) 1.367113E-06 0.000000E+00 0.000000E+00 3.028594E-05
* 252 Floating-point zero divide PROG=bbl_mod.bblm_tile ELN=300(40017cfcc)
* 253 Invalid operation PROG=bbl_mod.bblm_tile ELN=300(40017cfcc)
* 253 Invalid operation PROG=bbl_mod.bblm_tile ELN=300(40017cfcc)
* 252 Floating-point zero divide PROG=bbl_mod.bblm_tile ELN=300(40017cfcc)
if I also #undef SSW_BBL, then the model can run well.![Question :?:](./images/smilies/icon_question.gif)
STEP Day HH:MM:SS KINETIC_ENRG POTEN_ENRG TOTAL_ENRG NET_VOLUME
C => (i,j,k) Cu Cv Cw Max Speed
0 0 00:00:00 2.361273E-14 2.194795E+04 2.194795E+04 5.944509E+15
(360,250,19) 1.367113E-06 0.000000E+00 0.000000E+00 3.028594E-05
* 252 Floating-point zero divide PROG=bbl_mod.bblm_tile ELN=300(40017cfcc)
* 253 Invalid operation PROG=bbl_mod.bblm_tile ELN=300(40017cfcc)
* 253 Invalid operation PROG=bbl_mod.bblm_tile ELN=300(40017cfcc)
* 252 Floating-point zero divide PROG=bbl_mod.bblm_tile ELN=300(40017cfcc)
if I also #undef SSW_BBL, then the model can run well.
![Question :?:](./images/smilies/icon_question.gif)
Re: There is a problem when run ROMS in NEC computer
[quote="CBian"]Dear ROMS users,
*** 194 Could not allocate in ALLOCATE PROG=mod_ocean.allocate_ocean ELN=94(400500c88)
Called from mod_arrays ELN=63(400451ba4)
Called from ocean_control_mod.roms_initialize ELN=101(400001ac8)
Called from ocean ELN=97(400000e68)
[quote]
The NEC computer manual said:
193 *** Value of allocate-object must not be currently allocated array in ALLOCATE.
The specified array was already allocated. To eliminate this fatal error specify an unallocated array.
*** 194 Could not allocate in ALLOCATE PROG=mod_ocean.allocate_ocean ELN=94(400500c88)
Called from mod_arrays ELN=63(400451ba4)
Called from ocean_control_mod.roms_initialize ELN=101(400001ac8)
Called from ocean ELN=97(400000e68)
[quote]
The NEC computer manual said:
193 *** Value of allocate-object must not be currently allocated array in ALLOCATE.
The specified array was already allocated. To eliminate this fatal error specify an unallocated array.