Hi,
Does anyone meet with such error when compiling the Upwelling case on Linux by ifort?
ipo: warning #11015: Warning unknown option -no_compact_unwind
ipo: warning #11015: Warning unknown option -stack_size
ld: unrecognized -a option `ck_size'
make: *** [/R1/gsb/MARKOV/ROMS/Projects/Upwelling/oceanG] Error 1
I checked the cluster and found the process was using Linux-ifort.mk, and the first ipo is due to turning on the DEBUG.
But I don't understand why it can't recognize ck_size, seems like when reading -stack_size, it reads -st as a word, and can't read 'a'.
Does anyone using ifort meet with same problem?
Questions on ROMS compiling with ifort
Re: Questions on ROMS compiling with ifort
Yes, someone already asked about this a week or so ago:viewtopic.php?f=19&t=4869&p=18902&hilit=ifort#p18902
Re: Questions on ROMS compiling with ifort
Thanks, kate.kate wrote:Yes, someone already asked about this a week or so ago:viewtopic.php?f=19&t=4869&p=18902&hilit=ifort#p18902
But I met with another problem.
After I comment out the stack_size, it works well in a serial mode.
When I use MPI and submit the job to a compute node, it meets with an error
./oceanG: error while loading shared libraries: libnetcdff.so.6: cannot open shared object file: No such file or directory
I do export the library path by export LD_LIBRARY_PATH=/opt/netcdf4/lib:$LD_LIBRARY_PATH
It still doesn't work.
I attached my build.bash
- Attachments
-
- build.bash
- (17.57 KiB) Downloaded 358 times
Re: Questions on ROMS compiling with ifort
I solved it by not compiling with NetCDF4.
But if I do need to compile with NetCDF4, is there any solution?
But if I do need to compile with NetCDF4, is there any solution?
Re: Questions on ROMS compiling with ifort
Are you sure you have an up-to-date netcdf4 and netcdf-fortran?
Re: Questions on ROMS compiling with ifort
Definitely.kate wrote:Are you sure you have an up-to-date netcdf4 and netcdf-fortran?
I installed the latest version.
Re: Questions on ROMS compiling with ifort
hi hanhan wrote:Definitely.kate wrote:Are you sure you have an up-to-date netcdf4 and netcdf-fortran?
I installed the latest version.
Could you solve this problem??
I have the same problem.
I installed netcdf-c lib 4.6.1 and netcdf-fortran lib 4.4.4.