WPS Compile Fail on OSX 10.8.2

All things involving the setup (compiling, NetCDF, etc.) of the WRF Model itself.

WPS Compile Fail on OSX 10.8.2

Postby meteorpaul » Wed Jan 30, 2013 4:51 am

Hi Everyone,

I've been trying to compile WPS on OSX 10.8.2 but am unable to get passed this point in the compile process:

Code: Select all
gfortran  -o height_ukmo.exe height_ukmo.o cio.o module_debug.o gridinfo_module.o \
      read_met_module.o write_met_module.o module_date_pack.o \
      misc_definitions_module.o met_data_module.o constants_module.o
if [ -h height_ukmo.exe ] ; then \
      /bin/rm -f height_ukmo.exe ; \
   fi ; \
   if [ -h ../height_ukmo.exe ] ; then \
      /bin/rm -f ../height_ukmo.exe ; \
   fi ; \
   if [ -e src/height_ukmo.exe ] ; then \
      ln -sf src/height_ukmo.exe . ; \
   fi


Any ideas as to why I cannot get passed this point?

Thanks,

Paul
meteorpaul
 
Posts: 11
Joined: Mon Jan 28, 2013 6:55 pm

Re: WPS Compile Fail on OSX 10.8.2

Postby meteorpaul » Thu Jan 31, 2013 6:49 pm

Ok, here's a bit more about the WPS compile problem I have been experiencing. What I posted earlier was perhaps a bit unclear as the output did not show up the error, just the completion of the 'util' compile section.

It appears that 'geogrid' and 'metgrid' are not compiling because the compiler cannot find the objects 'module_machine.o' and 'module_driver_constants.o' in the 'WRFV3/frame' directory:

Code: Select all
geogrid
  gfortran: error: /Users/Meteorology/WRF/WPS/../WRFV3/frame/module_driver_constants.o: No such file or directory
gfortran: error: /Users/Meteorology/WRF/WPS/../WRFV3/frame/module_machine.o: No such file or directory
make[1]: [geogrid.exe] Error 1 (ignored)

metgrid
gfortran: error: /Users/Meteorology/WRF/WPS/../WRFV3/frame/module_driver_constants.o: No such file or directory
gfortran: error: /Users/Meteorology/WRF/WPS/../WRFV3/frame/module_machine.o: No such file or directory
make[1]: [metgrid.exe] Error 1 (ignored)


Has anyone else had this problem?

Thanks,

Paul
meteorpaul
 
Posts: 11
Joined: Mon Jan 28, 2013 6:55 pm

Re: WPS Compile Fail on OSX 10.8.2

Postby meteorpaul » Thu Jan 31, 2013 8:26 pm

Ok, so the problem goes back to the WRF compile with this error:

Code: Select all
   USE module_driver_constants
       1
Fatal Error: Can't open module file 'module_driver_constants.mod' for reading at (1): No such file or directory
meteorpaul
 
Posts: 11
Joined: Mon Jan 28, 2013 6:55 pm

Re: WPS Compile Fail on OSX 10.8.2

Postby meteorpaul » Fri Feb 01, 2013 8:50 am

I resolved these issues by removing the default optimisation options to the fortran compiler (gfortran).
meteorpaul
 
Posts: 11
Joined: Mon Jan 28, 2013 6:55 pm

Re: WPS Compile Fail on OSX 10.8.2

Postby zhangjie_1213 » Wed Feb 20, 2013 6:59 am

meteorpaul wrote:I resolved these issues by removing the default optimisation options to the fortran compiler (gfortran).

Hi, i also have the similar problem can not open ...module, could you say in details how can u remove the default optimisation options to the fortran compiler(gfortran) sorry, i am just starting learning LInux, Thank you in advance, i use Ubuntu 12.10 32byte, i am blocked by compile error
Lisa
zhangjie_1213
 
Posts: 3
Joined: Wed Feb 20, 2013 4:37 am

Re: WPS Compile Fail on OSX 10.8.2

Postby manuavazquez » Fri Sep 22, 2017 4:06 pm

I'm on the same boat? zhangjie_1213, did you solve it?
manuavazquez
 
Posts: 3
Joined: Thu Sep 21, 2017 7:18 am


Return to Installation

Who is online

Users browsing this forum: No registered users and 9 guests