Installation of WRF Chem on Mac OSX Lion

Posts related to the installation of WRF Chemistry

Installation of WRF Chem on Mac OSX Lion

Postby michvedrenne » Tue Sep 18, 2012 6:58 am

Hello people!

I'm currently trying to compile the WRF + Chem model, without any success. I have, however, successfully compiled and run WRF on my computer (Mac OSX Lion). I was wondering if somebody could help me find out this one because I'm really having a hard time, since I'm not being able to compile the code, not even with WRF_KPP = 0. I provide a copy of my .bash_profile. I'm using Intel C++ and FORTRAN compilers.

Thank you in advance!

Michel

echo "Setting compilers variables"

export CC=icc
export CXX=icpc
export FC=ifort
export F77=ifort
export F90=ifort
export PERL=/usr/bin/perl
echo "Setting code generation options"
export CFLAGS='-O2 -xT -fno-alias -ip -convert big-endian -align all -m64'
export CXXFLAGS='-O2 -xT -fno-alias -ip -convert big-endian -align all -m64'
export FFLAGS='-O2 -xT -fno-alias -ip -convert big-endian -align all -m64'
echo "Setting ifort environmental variables"

source /opt/intel/composer_xe_2011_sp1.10.328/bin/ifortvars.sh intel64
source /opt/intel/composer_xe_2011_sp1.10.328/bin/iccvars.sh intel64

echo "Setting WPS installation variables"
export YACC='/usr/bin/yacc -d
export FLEX_LIB_DIR=/usr/lib
export FLEX=/usr/bin/
export NETCDF=/usr/local/
export JASPERLIB=/usr/local/lib
export JASPERINC=/usr/local/include
export PNGLIB=/Developer/SDKs/MacOSX10.7.sdk/usr/X11/lib
export ZLIB=/Developer/SDKs/MacOSX10.7.sdk/usr/lib
export ZLIBINC=/Developer/SDKs/MacOS10.7.sdk/usr/include
export PATH=$PATH:/Developer/SDKs/MacOSX10.7.sdk/usr/X11/lib
export PATH=$PATH:/Developer/SDKs/MacOSX10.7.sdk/usr/lib
export PATH=$PATH:/Developer/SDKs/MacOSX10.7.sdk/usr/include
export MP_STACK_SIZE=640000000
export WRF_EM_CORE=1
export WRF_NMM_CORE=0
export WRF_CHEM=1
export WRF_KPP=0
michvedrenne
 
Posts: 1
Joined: Tue Sep 18, 2012 6:44 am

Re: Installation of WRF Chem on Mac OSX Lion

Postby meteorrosie » Tue Oct 22, 2013 5:52 pm

Hello,

Did you ever receive a solution to your listed problem?
meteorrosie
 
Posts: 9
Joined: Tue Oct 22, 2013 5:50 pm

Re: Installation of WRF Chem on Mac OSX Lion

Postby wintermute » Fri Nov 29, 2013 5:11 am

maybe it's not the case, but I see a missing ' in your declaration of YACC variable: you wrote '/usr/bin/yacc -d , while it should be '/usr/bin/yacc -d'.

You could also try to peruse the compile output to narrow in on the problem: on linux you can write ./compile >& compile.log, on MacOS I don't know how the syntax of the pipeline is, but I assume that "It Just Works" ;)
wintermute
 
Posts: 30
Joined: Wed Jan 30, 2013 11:48 am


Return to Installation

Who is online

Users browsing this forum: No registered users and 3 guests

cron