install ROMS2.2 with pgi

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
Chen-Xiangnan
Posts: 4
Joined: Mon Nov 03, 2008 2:55 pm
Location: Dapartment of Atmosphere in Nanjing University

install ROMS2.2 with pgi

#1 Unread post by Chen-Xiangnan »

Hello.I am a new user of ROMS,and tried to install ROMS2.2 with pgi7.0-7 and mpich. But when I run the ./built.bash I get this error:
@yhsv1 upwelling]$ ./build.bash
rm -f -r core *.ipo /yhspace/home/sunyimei/Project/upwelling/Build Compilers/make_macros.mk
makefile:230: INCLUDING FILE Compilers/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
cp -f /yhspace/home/sunyimei/soft/netcdf/include/netcdf.mod /yhspace/home/sunyimei/Project/upwelling/Build
cp -f /yhspace/home/sunyimei/soft/netcdf/include/typesizes.mod /yhspace/home/sunyimei/Project/upwelling/Build
./ROMS/Bin/sfmakedepend --cpp --fext=f90 --file=- --objdir=/yhspace/home/sunyimei/Project/upwelling/Build -DROMS_HEADER="upwelling.h" -I ROMS/Include -I ROMS/Nonlinear -I ROMS/Utility -I ROMS/Drivers -I ROMS/Functionals -I Master -I Compilers --silent --moddir /yhspace/home/sunyimei/Project/upwelling/Build ROMS/Nonlinear/bbl.F ROMS/Nonlinear/bc_2d.F ROMS/Nonlinear/bc_3d.F ROMS/Nonlinear/biology.F ROMS/Nonlinear/bulk_flux.F ......
......Master/ocean_control.F Master/ocean_coupler.F Master/propagator.F Master/roms_export.F Master/roms_import.F > /yhspace/home/sunyimei/Project/upwelling/Build/MakeDepend
cp -p /yhspace/home/sunyimei/src/Compilers/make_macros.mk /yhspace/home/sunyimei/Project/upwelling/Build
makefile:226: INCLUDING FILE /yhspace/home/sunyimei/Project/upwelling/Build/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/yhspace/home/sunyimei/src"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/yhspace/home/sunyimei/src/ROMS/Functionals"' -D'SVN_REV="195"' -IROMS/Include -IROMS/Nonlinear -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Nonlinear/bbl.F > /yhspace/home/sunyimei/Project/upwelling/Build/bbl.f90
ROMS/Bin/cpp_clean /yhspace/home/sunyimei/Project/upwelling/Build/bbl.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/yhspace/home/sunyimei/src"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/yhspace/home/sunyimei/src/ROMS/Functionals"' -D'SVN_REV="195"' -IROMS/Include -IROMS/Nonlinear -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Nonlinear/bc_2d.F > /yhspace/home/sunyimei/Project/upwelling/Build/bc_2d.f90
ROMS/Bin/cpp_clean /yhspace/home/sunyimei/Project/upwelling/Build/bc_2d.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/yhspace/home/sunyimei/src"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/yhspace/home/sunyimei/src/ROMS/Functionals"' -D'SVN_REV="195"' -IROMS/Include -IROMS/Nonlinear -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Nonlinear/exchange_2d.F > /yhspace/home/sunyimei/Project/upwelling/Build/exchange_2d.f90
ROMS/Bin/cpp_clean /yhspace/home/sunyimei/Project/upwelling/Build/exchange_2d.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/yhspace/home/sunyimei/src"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/yhspace/home/sunyimei/src/ROMS/Functionals"' -D'SVN_REV="195"' -IROMS/Include -IROMS/Nonlinear -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_param.F > /yhspace/home/sunyimei/Project/upwelling/Build/mod_param.f90
ROMS/Bin/cpp_clean /yhspace/home/sunyimei/Project/upwelling/Build/mod_param.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/yhspace/home/sunyimei/src"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/yhspace/home/sunyimei/src/ROMS/Functionals"' -D'SVN_REV="195"' -IROMS/Include -IROMS/Nonlinear -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_kinds.F > /yhspace/home/sunyimei/Project/upwelling/Build/mod_kinds.f90
ROMS/Bin/cpp_clean /yhspace/home/sunyimei/Project/upwelling/Build/mod_kinds.f90
cd /yhspace/home/sunyimei/Project/upwelling/Build; /yhspace/home/sunyimei/soft/mpich/bin/mpif90 -c -ip -O3 -xW mod_kinds.f90
pgf90-Error-Unknown switch: -ip
pgf90-Error-Unknown switch: -xW
make: *** [/yhspace/home/sunyimei/Project/upwelling/Build/mod_kinds.o] Error 1


Should I find some flag for changing ifort to pgf90?Please help me.Thank you in advance.

Chen-Xiangnan
Posts: 4
Joined: Mon Nov 03, 2008 2:55 pm
Location: Dapartment of Atmosphere in Nanjing University

Re: install ROMS2.2 with pgi

#2 Unread post by Chen-Xiangnan »

I have solve this problem.Thank you!

User avatar
m.hadfield
Posts: 521
Joined: Tue Jul 01, 2003 4:12 am
Location: NIWA

Re: install ROMS2.2 with pgi

#3 Unread post by m.hadfield »

Chen-Xiangnan wrote:I have solve this problem.Thank you!
Go on give us a clue! You were calling the wrong mpif90? :D

Chen-Xiangnan
Posts: 4
Joined: Mon Nov 03, 2008 2:55 pm
Location: Dapartment of Atmosphere in Nanjing University

Re: install ROMS2.2 with pgi

#4 Unread post by Chen-Xiangnan »

OK. :D
"-ip" and "-xW" are not switch for pgi . Maybe they are for ifort. So I changed the choice of the FORT to pgi. And then the error is solved.

Post Reply