ifort compile (make) error

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
hyy
Posts: 17
Joined: Wed Apr 22, 2009 6:01 pm
Location: National Institute for Environmental Studies

ifort compile (make) error

#1 Post by hyy » Tue May 22, 2018 1:31 am

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

Aminrahdarian
Posts: 6
Joined: Wed Jan 25, 2017 5:26 pm
Location: University Of Waikato

Re: ifort compile (make) error

#2 Post by Aminrahdarian » Tue May 22, 2018 5:10 am

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.

User avatar
kate
Posts: 3718
Joined: Wed Jul 02, 2003 5:29 pm
Location: IMS/UAF, USA

Re: ifort compile (make) error

#3 Post by kate » Tue May 22, 2018 5:30 am

Yes, I got the same error. I just commented out the stack_size lines in Compilers/Linux-ifort.mk.

User avatar
arango
Site Admin
Posts: 1085
Joined: Wed Feb 26, 2003 4:41 pm
Location: IMCS, Rutgers University
Contact:

Re: ifort compile (make) error

#4 Post by arango » Tue May 22, 2018 7:05 am

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.

hyy
Posts: 17
Joined: Wed Apr 22, 2009 6:01 pm
Location: National Institute for Environmental Studies

Re: ifort compile (make) error

#5 Post by hyy » Tue May 22, 2018 7:48 am

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

Post Reply