Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Sun Jul 21, 2019 10:07 pm




Post new topic Reply to topic  [ 3 posts ] 

All times are UTC

Author Message
 Post subject: Compiling problem
PostPosted: Sat Apr 06, 2013 1:51 am 
Offline

Joined: Mon Apr 02, 2012 4:58 pm
Posts: 19
Location: Georgia Tech
When I was compiling ROMS, it gave me this error, even after I set in the makefile "MPI=off"

1. The problem is the "inline"?
2. Among f90 files, I could not find the mod_kinds.f90
3. In the propagator.f90, there are only two lines:
MODULE propagator_mod
END MODULE propagator_mod

Your suggestions will greatly appreciated!

Thanks.

Fan

/usr/bin/cpp -P -traditional -I/usr/local/packages/netcdf/4.1.3/mvapich2-1.6/gcc-4.4.5/include -DMPI -DLINUX -DX86_64 -DPGI -IInclude -IAdjoint -INonlinear -IRepresenter -ITangent -IDrivers -ISeaIce Drivers/ocean_control.F > ocean_control.f90
/usr/bin/cpp -P -traditional -I/usr/local/packages/netcdf/4.1.3/mvapich2-1.6/gcc-4.4.5/include -DMPI -DLINUX -DX86_64 -DPGI -IInclude -IAdjoint -INonlinear -IRepresenter -ITangent -IDrivers -ISeaIce Drivers/propagator.F > propagator.f90
Bin/cpp_clean ocean_control.f90
Bin/cpp_clean propagator.f90
mpif90 -c -O4 -fastsse -Mipa=fast,inline mod_kinds.f90
f951: error: unrecognized command line option "-Mipa=fast,inline"
f951: error: unrecognized command line option "-fastsse"

gmake: *** [mod_kinds.o] Error 1
gmake: *** Waiting for unfinished jobs....
rm seaice.f90 mod_kinds.f90
mv: cannot stat `oceanS': No such file or directory
./ROSS_compile: line 19: gamke: command not found
--- COMPILE COMPLETE


Top
 Profile  
Reply with quote  
 Post subject: Re: Compiling problem
PostPosted: Sun Apr 07, 2013 3:36 am 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3633
Location: IMS/UAF, USA
papaya wrote:
/usr/bin/cpp -P -traditional -I/usr/local/packages/netcdf/4.1.3/mvapich2-1.6/gcc-4.4.5/include -DMPI -DLINUX -DX86_64 -DPGI -IInclude -IAdjoint -INonlinear -IRepresenter -ITangent -IDrivers -ISeaIce Drivers/propagator.F > propagator.f90
Bin/cpp_clean ocean_control.f90
Bin/cpp_clean propagator.f90
mpif90 -c -O4 -fastsse -Mipa=fast,inline mod_kinds.f90
f951: error: unrecognized command line option "-Mipa=fast,inline"
f951: error: unrecognized command line option "-fastsse"

gmake: *** [mod_kinds.o] Error 1
gmake: *** Waiting for unfinished jobs....
rm seaice.f90 mod_kinds.f90
mv: cannot stat `oceanS': No such file or directory
./ROSS_compile: line 19: gamke: command not found
--- COMPILE COMPLETE
You told it you are using the PGI compiler. Are you using the PGI compiler? You are using mpif90 which could be a wrapper around anything. It's invoking something called f951. That's the compiler that doesn't like the PGI options.

By the way, don't worry about the propogator code being empty. You're just not using the options where it would be used.


Top
 Profile  
Reply with quote  
 Post subject: Re: Compiling problem
PostPosted: Mon Apr 08, 2013 7:29 pm 
Offline

Joined: Mon Apr 02, 2012 4:58 pm
Posts: 19
Location: Georgia Tech
Thanks Kate.

Yes, the compiler is not configured properly.


kate wrote:
papaya wrote:
/usr/bin/cpp -P -traditional -I/usr/local/packages/netcdf/4.1.3/mvapich2-1.6/gcc-4.4.5/include -DMPI -DLINUX -DX86_64 -DPGI -IInclude -IAdjoint -INonlinear -IRepresenter -ITangent -IDrivers -ISeaIce Drivers/propagator.F > propagator.f90
Bin/cpp_clean ocean_control.f90
Bin/cpp_clean propagator.f90
mpif90 -c -O4 -fastsse -Mipa=fast,inline mod_kinds.f90
f951: error: unrecognized command line option "-Mipa=fast,inline"
f951: error: unrecognized command line option "-fastsse"

gmake: *** [mod_kinds.o] Error 1
gmake: *** Waiting for unfinished jobs....
rm seaice.f90 mod_kinds.f90
mv: cannot stat `oceanS': No such file or directory
./ROSS_compile: line 19: gamke: command not found
--- COMPILE COMPLETE
You told it you are using the PGI compiler. Are you using the PGI compiler? You are using mpif90 which could be a wrapper around anything. It's invoking something called f951. That's the compiler that doesn't like the PGI options.

By the way, don't worry about the propogator code being empty. You're just not using the options where it would be used.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 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:  
cron
Powered by phpBB® Forum Software © phpBB Group