Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Mon Dec 10, 2018 4:19 pm




Post new topic Reply to topic  [ 7 posts ] 

All times are UTC

Author Message
PostPosted: Fri Jun 01, 2018 4:04 am 
Offline

Joined: Thu Mar 29, 2018 5:03 pm
Posts: 12
Location: Stony Brook University
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?


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 01, 2018 5:06 am 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3516
Location: IMS/UAF, USA
Yes, someone already asked about this a week or so ago:https://www.myroms.org/forum/viewtopic.php?f=19&t=4869&p=18902&hilit=ifort#p18902


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 01, 2018 12:42 pm 
Offline

Joined: Thu Mar 29, 2018 5:03 pm
Posts: 12
Location: Stony Brook University
kate wrote:
Yes, someone already asked about this a week or so ago:https://www.myroms.org/forum/viewtopic.php?f=19&t=4869&p=18902&hilit=ifort#p18902


Thanks, kate.

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 23 times
Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 01, 2018 2:38 pm 
Offline

Joined: Thu Mar 29, 2018 5:03 pm
Posts: 12
Location: Stony Brook University
I solved it by not compiling with NetCDF4.

But if I do need to compile with NetCDF4, is there any solution?


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 01, 2018 2:50 pm 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3516
Location: IMS/UAF, USA
Are you sure you have an up-to-date netcdf4 and netcdf-fortran?


Top
 Profile  
Reply with quote  
PostPosted: Sat Jun 02, 2018 12:05 pm 
Offline

Joined: Thu Mar 29, 2018 5:03 pm
Posts: 12
Location: Stony Brook University
kate wrote:
Are you sure you have an up-to-date netcdf4 and netcdf-fortran?


Definitely.

I installed the latest version.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 27, 2018 9:11 am 
Offline

Joined: Fri Dec 29, 2006 11:02 pm
Posts: 5
Location: NSYSU
han wrote:
kate wrote:
Are you sure you have an up-to-date netcdf4 and netcdf-fortran?


Definitely.

I installed the latest version.


hi han

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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group