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
ifort compile (make) error
-
- Posts: 7
- Joined: Wed Jan 25, 2017 5:26 pm
- Location: University Of Waikato
Re: ifort compile (make) error
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 !
>> 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.
Re: ifort compile (make) error
Yes, I got the same error. I just commented out the stack_size lines in Compilers/Linux-ifort.mk.
- arango
- Site Admin
- Posts: 1361
- Joined: Wed Feb 26, 2003 4:41 pm
- Location: DMCS, Rutgers University
- Contact:
Re: ifort compile (make) error
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.
-
- Posts: 17
- Joined: Wed Apr 22, 2009 6:01 pm
- Location: National Institute for Environmental Studies
Re: ifort compile (make) error
Dear Aminrahdarian, kate, and arango,
Thank you very much for prompt reply.
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
Thank you very much for prompt reply.
According as arango's advice, I also commented out the stack_sizearango 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.
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