compiling problem on pgi compiler

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
subbareddy
Posts: 6
Joined: Mon May 11, 2009 3:52 pm
Location: IIT Kharagpur

compiling problem on pgi compiler

#1 Unread post by subbareddy »

sir,
when i am trying to make compilation, i am getting these error and i don't understand where is the problem
makefile:233: INCLUDING FILE Compilers/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITION
which: no pgi in (/opt/pgi/linux86-64/7.2/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/home/subbu/bin)
cp -f /usr/local/include /netcdf.mod Build
cp: omitting directory `/usr/local/include'
cp: cannot stat `/netcdf.mod': No such file or directory
make: *** No rule to make target `Build/MakeDepend', needed by `all'. Stop.

plz help me

robertson
Site Admin
Posts: 227
Joined: Wed Feb 26, 2003 3:12 pm
Location: IMCS, Rutgers University

Re: compiling problem on pgi compiler

#2 Unread post by robertson »

It looks like you have a couple problems:
  • The build process should not be looking for 'pgi' ('which pgi' from the error you posted), it should be looking for pgf90. Did you modify FC in your Compilers/Linux-pgi.mk file? If so, change it back.
  • when you set your NETCDF_INCDIR you put a space at the end so make is trying to copy /usr/local/include /netcdf.mod instead of /usr/local/include/netcdf.mod
Fix those two things try again.

Post Reply