Error on make of ftconv.exe not finding -lf2c

Bill Gray gray at jics.utk.edu
Tue Feb 10 21:16:10 GMT 2004


Kirk,
Thanks for the help.  Commented out of -g77libs  in CONFIG 
     [gray at galaxy28 molpro2002.6]$ grep g77 CONFIG
     # LINKOPT="-g77libs"  ## Removed after ./configure 2/10/04 per Kirk Peterson
     [gray at galaxy28 molpro2002.6]$ 

That worked to a point, but error on linking - see below.

if [ ! -r ../lib/libmolpro.a ]; then \
  echo "Rebuilding ../lib/libmolpro.a from scratch" ;\
  ar  -q ../lib/libmolpro.a licence.o ; \
  ar  -q ../lib/libmolpro.a [A-Z]*/*.o ; \
  ar  -q ../lib/libmolpro.a [a-h]*/*.o ; \
  ar  -q ../lib/libmolpro.a [i-z]*/*.o ; \
  true ../lib/libmolpro.a ; \
else \
  echo "Updating ../lib/libmolpro.a" ;\
  make ../lib/libmolpro.a ; \
fi
Rebuilding ../lib/libmolpro.a from scratch
make[1]: Leaving directory `/mnt/www2.G3/Products/MOLPRO/molpro2002.6/src'
link date: 10 Feb 2004 14:27:41 ; version: 2002.6
Installed patches: cidps_orthp configure_xeon darwin_conf defbas_update dft_orbital_hi enest_dummy erel_variables fujitsu_conf fujitsu-ssl2 ga_conflict2 ia64root_check lapack_init merge_orbdom mkl60 mkl61 modelopt molden_orbital_normalization mpputil mxm_fujitsu nec_parse opteron2 opteron6 patcher_printf posinp pseudo_libmol2 readop_multipole_nps rpm_key sun_forte8 updui_trap_overflow wrapper_makefile 
molver.f: compiling ... done
linking /mnt/www2.G3/Products/MOLPRO/molpro2002.6/bin/molpros_2002_6_p4.exe
link failed
pgf90 -pc 64 -i4 -fast -o /mnt/www2.G3/Products/MOLPRO/molpro2002.6/bin/molpros_2002_6_p4.exe molver.o molpro.o -L/mnt/www2.G3/Products/MOLPRO/molpro2002.6/lib -lmolpro -lgks0 -L/usr/lib -llapack -L/usr/lib -lblas -lz
/usr/lib/liblapack.so: undefined reference to `e_wsfe'
/usr/lib/liblapack.so: undefined reference to `z_abs'
/usr/lib/liblapack.so: undefined reference to `c_sqrt'
/usr/lib/liblapack.so: undefined reference to `s_cmp'
/usr/lib/liblapack.so: undefined reference to `z_exp'
/usr/lib/liblapack.so: undefined reference to `c_exp'
/usr/lib/liblapack.so: undefined reference to `do_fio'
/usr/lib/liblapack.so: undefined reference to `z_sqrt'
/usr/lib/liblapack.so: undefined reference to `s_cat'
/usr/lib/liblapack.so: undefined reference to `s_stop'
/usr/lib/liblapack.so: undefined reference to `c_abs'
/usr/lib/liblapack.so: undefined reference to `s_wsfe'
/usr/lib/liblapack.so: undefined reference to `s_copy'
make: *** [bin/molpros_2002_6_p4.exe] Error 1
[gray at galaxy28 molpro2002.6]$ 

  ----- Original Message ----- 
  From: Kirk Peterson 
  To: Bill Gray 
  Cc: Molpro-user 
  Sent: Monday, February 09, 2004 5:15 PM
  Subject: Re: Error on make of ftconv.exe not finding -lf2c


  Bill,

  I've found that with the latest PGI compilers the -g77libs option is no longer required. Try removing this from CONFIG and
  doing a make.

  best wishes,

  Kirk

  On Monday, February 9, 2004, at 01:39 PM, Bill Gray wrote:


    Attempting to make MolPro 2002.6 from source on Intel running RedHat 8 with PGI compliers;
    When "make" is run get error
    linking ftconv.exe
    ln: accessing `./ftconv.exe': No such file or directory
    make[1]: *** [ftconv.exe] Error 1
    make[1]: Leaving directory `/mnt/www2.G3/Products/MOLPRO/molpro2002.6/utilities'
    make: *** [utilities/ftconv.exe] Error 2
     
    and looking in utilies directory find latest file log
     
        [gray at galaxy28 utilities]$ cat ftconv.exe.log
        pgf90 -pc 64 -i4 -fast -g77libs -o ftconv.exe ftconv.o -lz
        /usr/bin/ld: cannot find -lf2c
        [gray at galaxy28 utilities]$
     
    after doing ls -ltc |head that gave :
    [gray at galaxy28 utilities]$ ls -ltc |head -30
    total 1048
    -rw-rw-r--    1 gray     gray           90 Feb  9 16:11 ftconv.exe.log
    -rw-rw-r--    1 gray     gray        39456 Feb  9 16:11 ftconv.o
    -rw-rw-r--    1 gray     gray          383 Feb  9 16:11 dimensions.mod
    -rw-rw-r--    1 gray     gray           35 Feb  9 16:11 ftconv.log
    -rwxrwxr-x    1 gray     gray        41290 Feb  9 16:11 molpro
    -rw-rw-r--    1 gray     gray          187 Feb  9 16:11 molpro.log
    -rw-rw-r--    1 gray     gray        39404 Feb  9 16:11 molpro.o
    -rwxrwxr-x    2 gray     gray        18444 Feb  9 16:11 ftc
    -rw-rw-r--    1 gray     gray           97 Feb  9 16:11 getopt1.log
    -rw-rw-r--    1 gray     gray          583 Feb  9 16:11 getopt1.o
    -rw-rw-r--    1 gray     gray           96 Feb  9 16:11 getopt.log
    -rw-rw-r--    1 gray     gray          582 Feb  9 16:11 getopt.o
    -rw-rw-r--    1 gray     gray          221 Feb  9 16:11 ftc.log
    -rw-rw-r--    1 gray     gray        10484 Feb  9 16:11 ftc.o
    -rwxrwxr-x    2 gray     gray        10440 Feb  9 16:11 echo
    -rw-rw-r--    1 gray     gray          164 Feb  9 16:11 echo.log
    -rw-rw-r--    1 gray     gray         1004 Feb  9 16:11 echo.o
    -rwxrwxr-x    2 gray     gray       246749 Feb  9 15:55 maxdim.exe

     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.molpro.net/pipermail/molpro-user/attachments/20040210/346c81a9/attachment.html>


More information about the Molpro-user mailing list