2 Replies Latest reply on Jan 12, 2010 11:45 AM by kingshukiisc

    stuck with a problem "libacml.so: cannot open shared object file: No such file or directory"

    kingshukiisc

      hi all,

             I want to complie a program using intel fortran compiler.  The name of the program trap.tar. After untarring I got a subdir f90 wherin all the programs including the makefile is there. Now using make command I get /home/kingshuk/bin/trap.x and I have installed acml3.6.0 in this path home/kingshuk/opt/acml3.6.0 as you can see below. Now I want to compile the input file bose_iso.dat as you can see also with the command /home/kingshuk/bin/trap.x <bose_iso.dat> x.out, I got the the above titled msg. I have marked the bold and underlined addresses or dir below.

      kingshuk@biswa-desktop:~$ cd newprogram
      kingshuk@biswa-desktop:~/newprogram$ ls
      f90  trap.tar
      kingshuk@biswa-desktop:~/newprogram$ cd f90
      kingshuk@biswa-desktop:~/newprogram/f90$ ls
      basgen3d_aniso.f90  becfermi_drv.o  entropy.f90    ham0_3d.f90    jmnpq_cal.o       matmul_ut.o  plot_1d_uhf.f90  plot_drv.o        twoind_r.o
      basgen3d_aniso.o    bose_scf.f90    entropy.o      ham0_3d.o      Makefile          optics.f90   plot_1d_uhf.o    README            xmat_0.f90
      basgen3d_cyl.f90    bose_scf.o      Examples       hermite.f90    Makefile~         optics.o     plot_2d.f90      spctrm_a.f90      xmat_0.o
      basgen3d_cyl.o      bose_steep.f90  fermi_rhf.f90  hermite.o      Makefile_aix      oscl.f90     plot_2d.o        spctrm_a.o
      basgen3d_iso.f90    bose_steep.o    fermi_rhf.o    hpsort.f90     Makefile_alpha    oscl.o       plot_2d_uhf.f90  thomas_fermi.f90
      basgen3d_iso.o      dipmat_3d.f90   fermi_uhf.f90  hpsort.o       Makefile_solaris  plot_1d.f90  plot_2d_uhf.o    thomas_fermi.o
      becfermi_drv.f90    dipmat_3d.o     fermi_uhf.o    jmnpq_cal.f90  matmul_ut.f90     plot_1d.o    plot_drv.f90     twoind_r.f90
      kingshuk@biswa-desktop:~/newprogram/f90$ source /opt/intel/fce/10.1.008/bin/ifortvars.sh
      kingshuk@biswa-desktop:~/newprogram/f90$ make
      linking  trap.x
      ifort  -O /home/kingshuk/newprogram/f90/oscl.o /home/kingshuk/newprogram/f90/basgen3d_iso.o /home/kingshuk/newprogram/f90/basgen3d_cyl.o /home/kingshuk/newprogram/f90/basgen3d_aniso.o  /home/kingshuk/newprogram/f90/xmat_0.o /home/kingshuk/newprogram/f90/ham0_3d.o /home/kingshuk/newprogram/f90/jmnpq_cal.o /home/kingshuk/newprogram/f90/becfermi_drv.o /home/kingshuk/newprogram/f90/bose_scf.o /home/kingshuk/newprogram/f90/bose_steep.o /home/kingshuk/newprogram/f90/fermi_rhf.o /home/kingshuk/newprogram/f90/fermi_uhf.o /home/kingshuk/newprogram/f90/optics.o /home/kingshuk/newprogram/f90/hermite.o /home/kingshuk/newprogram/f90/thomas_fermi.o /home/kingshuk/newprogram/f90/entropy.o /home/kingshuk/newprogram/f90/hpsort.o  /home/kingshuk/newprogram/f90/spctrm_a.o /home/kingshuk/newprogram/f90/twoind_r.o /home/kingshuk/newprogram/f90/dipmat_3d.o /home/kingshuk/newprogram/f90/matmul_ut.o /home/kingshuk/newprogram/f90/plot_drv.o /home/kingshuk/newprogram/f90/plot_1d.o /home/kingshuk/newprogram/f90/plot_1d_uhf.o /home/kingshuk/newprogram/f90/plot_2d.o /home/kingshuk/newprogram/f90/plot_2d_uhf.o -L/home/kingshuk/opt/acml3.6.0/ifort64/lib -lacml -lacml_mv -o tmp.tmp
      mv -f tmp.tmp /home/kingshuk/bin/trap.x
      strip /home/kingshuk/bin/trap.x
      done
      kingshuk@biswa-desktop:~/newprogram/f90$ cd Examples
      kingshuk@biswa-desktop:~/newprogram/f90/Examples$ ls
      addition_energy.txt  bose-systems  energy.dat  fermi-systems  input_prep.lyx  input_prep.pdf  input_prep.ps
      kingshuk@biswa-desktop:~/newprogram/f90/Examples$ cd bose-systems
      kingshuk@biswa-desktop:~/newprogram/f90/Examples/bose-systems$ ls
      bose_cyl_jila.dat        bose_cyl_jila_henon.out  bose_cyl_jila_sd.dat  bose_iso_attr.dat  bose_iso.dat  bose_iso_sd.dat  x.out
      bose_cyl_jila_henon.dat  bose_cyl_jila.out        bose_cyl_jila_sd.out  bose_iso_attr.out  bose_iso.out  bose_iso_sd.out
      kingshuk@biswa-desktop:~/newprogram/f90/Examples/bose-systems$ trap.x <bose_iso.dat> x.out
      bash: trap.x: command not found
      kingshuk@biswa-desktop:~/newprogram/f90/Examples/bose-systems$ /home/kingshuk/bin/trap.x <bose_iso.dat> x.out
      /home/kingshuk/bin/trap.x: error while loading shared libraries: libacml.so: cannot open shared object file: No such file or directory
      kingshuk@biswa-desktop:~/newprogram/f90/Examples/bose-systems$

       Please give me any suggestion so that I can get rid of this problem. I will be grateful to him.

      thank you

      kingshuk