I don't know what compiler f95 is, but if you have to pass a directory and a library in it to the linker, just do it in the same way that is done in arch.make:
-L/directory/where/pgplot/is -lpgplot Marcos On Sat, Jul 24, 2010 at 4:57 AM, Fen Hong <[email protected]> wrote: > Marcos, > Thank you very much. I have compiled the Pgplot by f95 since the siesta was > also compiled by f95. > While according to installation guide, "f95 plrho.f -lX11 -lpgplot -o plrho > " and set the enviroment like this “export PGPLOT_DIR=/home/fen/pgplot > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PGPLOT_DIR > export PGPLOT_DEV=/xw > ” > I got the the wrong msg > " In file icolor.f:179 > > Included at plrho.f:223 > > IF(J.GT.97.OR.J.LT.1)PAUSE > 1 > Warning: Obsolete: PAUSE statement at (1) > In file plsurf.f:176 > > Included at plrho.f:226 > > IF (ALLHGH .OR. ALLLOW) GOTO 10 > 1 > In file plsurf.f:244 > > Included at plrho.f:226 > > > 2 > Warning: Obsolete: GOTO at (1) jumps to END of construct at (2) > /usr/bin/ld: cannot find -lpgplot > collect2: ld returned 1 exit status > " > It seems somthing wrong on the lib.I dont know how to fix it ..... > > Fen > >
