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
compiling problem on pgi compiler
-
- Posts: 6
- Joined: Mon May 11, 2009 3:52 pm
- Location: IIT Kharagpur
Re: compiling problem on pgi compiler
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