make error (test the A4DVAR_TOY application)

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
slvester
Posts: 32
Joined: Mon Jun 01, 2009 12:59 pm
Location: second institution of oceanography,state oceanic administration China

make error (test the A4DVAR_TOY application)

#1 Unread post by slvester »

hello,everyone.I want to test the application of A4DVAR_TOY .
But first,the make is not accessed.
slvester@OceanStar:~/roms> make
......
......
....
/opt/mpi/mvapich/1.1/gcc.pgf90/bin/mpif90 -O3 -tp k8-64 Build/esmf_roms.o Build/master.o Build/ocean_control.o Build/ocean_coupler.o Build/propagator.o Build/roms_export.o Build/roms_import.o -o oceanM/oceanM_a4dvar_toy Build/libADM.a Build/libADM_bio.a Build/libTLM.a Build/libTLM_bio.a Build/libNLM.a Build/libNLM_bio.a Build/libNLM_sed.a Build/libANA.a Build/libUTIL.a Build/libMODS.a -L/opt/libs/netcdf/3.6.2/gcc.pgf90/lib -lnetcdf -L/opt/pgisoft/PARPACK -lparpack -L/opt/pgisoft/PARPACK -larpack
/usr/bin/ld: cannot find -lparpack
make: *** [oceanM/oceanM_a4dvar_toy] Error 2
what's that mean?How can I resolve it?Thanks
-----------------------------------------
makefile set:
ROMS_APPLICATION ?= A4DVAR_TOY
MY_HEADER_DIR ?=
MY_ANALYTICAL_DIR ?=
MY_CPP_FLAGS ?=
NestedGrids ?= 1
USE_DEBUG ?=
USE_MPI ?= on
USE_OpenMP ?=
USE_MPIF90 ?= on
USE_LARGE ?= on
USE_NETCDF4 ?=
FORT ?= pgi
BINDIR ?= .


The upwelling application is ok, and in makefile ,some setting is the same as that.I don't konw why the A4DVAR_TOY can not pass?
---------------------------------------------------

Operating system : Linux
CPU/hardware : x86_64
Compiler system : pgi
Compiler command : /opt/mpi/mvapich/1.1/gcc.pgf90/bin/mpif90
Compiler flags : -O3 -tp k8-64 -Mfree

I am appricate of your suggestion !

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

Re: make error (test the A4DVAR_TOY application)

#2 Unread post by kate »

/gcc.pgf90/lib -lnetcdf -L/opt/pgisoft/PARPACK -lparpack -L/opt/pgisoft/PARPACK -larpack
/usr/bin/ld: cannot find -lparpack
The 4Dvar stuff needs two extra libraries, arpack and parpack. Do you have them? Are they in /opt/pgisoft/PARPACK?

slvester
Posts: 32
Joined: Mon Jun 01, 2009 12:59 pm
Location: second institution of oceanography,state oceanic administration China

Re: make error (test the A4DVAR_TOY application)

#3 Unread post by slvester »

Thank you kate,I am sorry for my late reply.
I kown your mean and I hanvn't the arpack and parpack
I have download the arpack and parpack file,but I can not install them successful.And I need to try it again!

Post Reply