Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Tue Sep 17, 2019 4:37 am




Post new topic Reply to topic  [ 5 posts ] 

All times are UTC

Author Message
PostPosted: Tue May 22, 2018 1:31 am 
Offline

Joined: Wed Apr 22, 2009 6:01 pm
Posts: 17
Location: National Institute for Environmental Studies
Dear Sir or Madam,

I installed the newest ROMS source codes:
https://www.myroms.org/projects/src/ticket/769

that includes the modified "Linux-ifort.mk".

And I tried to MPI compile (make) UPWELLING case using 'ifort'
compiler. The consequences, however, the following error messages
appeared and failed to compile (make);

>> ipo: warning #11016: Warning unknown option -stack_size
>> ld: Unrecognized option of -a : `ck_size'
>> make: *** [oceanM] error 1

Then would you please tell me how to compile (make) this UPWELLING
case successfully?

Note that the version of compilers I am using are as follows;
intel/18.0.2.199
intel-mpi/5.0.3.048

And I set the environmental variable stacksize to unlimited;
% limit
cputime unlimited
filesize unlimited
datasize unlimited
stacksize unlimited
coredumpsize 0 kbytes
memoryuse unlimited
vmemoryuse unlimited
descriptors 1024
memorylocked unlimited
maxproc 511459
maxlocks unlimited
maxsignal 511459
maxmessage 819200
maxnice 0
maxrtprio 0
maxrttime unlimited

I am looking forward to seeing your reply. Thank you in advance.

Sincerely yours,

Hiroshi Yoshinari


Top
 Profile  
Reply with quote  
PostPosted: Tue May 22, 2018 5:10 am 
Offline

Joined: Wed Jan 25, 2017 5:26 pm
Posts: 6
Location: University Of Waikato
Hello ,
>> ipo: warning #11016: Warning unknown option -stack_size
>> ld: Unrecognized option of -a : `ck_size'
>> make: *** [oceanM] error 1

I guess you have problems with stacksize limit commands !


Last edited by Aminrahdarian on Thu Jan 17, 2019 2:20 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Tue May 22, 2018 5:30 am 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3665
Location: IMS/UAF, USA
Yes, I got the same error. I just commented out the stack_size lines in Compilers/Linux-ifort.mk.


Top
 Profile  
Reply with quote  
PostPosted: Tue May 22, 2018 7:05 am 
Offline
Site Admin
User avatar

Joined: Wed Feb 26, 2003 4:41 pm
Posts: 1081
Location: IMCS, Rutgers University
Yes, it is Darwin configuration that needs it. As Kate said, just comment the line in the Linux-ifort configuration file. Linux will take the unlimited value from the environmental variable. It is the loader LD that it is having the problem. It depends on what you have in your computer.


Top
 Profile  
Reply with quote  
PostPosted: Tue May 22, 2018 7:48 am 
Offline

Joined: Wed Apr 22, 2009 6:01 pm
Posts: 17
Location: National Institute for Environmental Studies
Dear Aminrahdarian, kate, and arango,

Thank you very much for prompt reply.

arango wrote:
Yes, it is Darwin configuration that needs it. As Kate said, just comment the line in the Linux-ifort configuration file. Linux will take the unlimited value from the environmental variable. It is the loader LD that it is having the problem. It depends on what you have in your computer.


According as arango's advice, I also commented out the stack_size
lines in Compilers/Linux-ifort.mk as kate did. And I succeeded in
MPI compiling (making) using 'ifort' compiler!

Thanks so much for useful advice.

Best regards,

Hiroshi


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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