[AMBER] problem installing AmberTools 12 on Mac OS X Lion

From: Sidney Elmer <paulymer.gmail.com>
Date: Wed, 18 Apr 2012 01:11:01 -0700

Hi all,

I get an error when installing serial AmberTools 12 on Mac OS X 10.7.3. I
am using the gfortran4.7 compiler supplied by hpc.sourceforge.net. I am
able to localize the problem to rism:

$ cd $AMBERHOME/AmberTools/src/rism
$ make yes
ar rv /usr/local/amber12/lib/librism.a rism1d_c.o solvmdl_c.o
rism1d_potential_c.o rism1d_closure_c.o rism1d_kh_c.o rism1d_hnc_c.o
rism1d_py_c.o rism1d_mv0_c.o rism1d_psen_c.o quaternion.o rism_util.o
rism_report_c.o rism3d_grid_c.o rism3d_closure_c.o rism3d_kh_c.o
rism3d_hnc_c.o rism3d_psen_c.o rism3d_c.o rism3d_potential_c.o rism3d_csv.o
rism3d_xyzv.o rism3d_opendx.o rism3d_solv_c.o rism3d_solu_c.o pubfft.o
rism3d_fft.o rism_parm.o mdiis_orig_c.o mdiis_blas_c.o mdiis_blas2_c.o
mdiis_c.o fce_c.o erfcfun.o safemem.o blend.o rism_timer_c.o constants.o
getopts_c.o array_util.o fftw3.o mkl_fft.o
r - rism1d_c.o
--snip--
r - mkl_fft.o
/usr/bin/ranlib: file: /usr/local/amber12/lib/librism.a(fftw3.o) has no
symbols
/usr/bin/ranlib: file: /usr/local/amber12/lib/librism.a(mkl_fft.o) has no
symbols
ranlib /usr/local/amber12/lib/librism.a
ranlib: file: /usr/local/amber12/lib/librism.a(fftw3.o) has no symbols
ranlib: file: /usr/local/amber12/lib/librism.a(mkl_fft.o) has no symbols
gfortran -c -DBINTRAJ \
         \
        -O3 -mtune=native -ffree-form -I/usr/local/amber12/include
-I/usr/local/amber12/include \
        -o rism1d.o rism1d.F90
rism1d.F90:1262.8:

    use rism1d_m
        1
Error: 'rism1d' of module 'rism1d_m', imported at (1), is also the name of
the current program unit
rism1d.F90:1262.8:

    use rism1d_m
        1
Error: Name 'rism1d' at (1) is an ambiguous reference to 'rism1d' from
current program unit
rism1d.F90:1261.16:

  program rism1d
                1
Error: Name 'rism1d' at (1) is an ambiguous reference to 'rism1d' from
current program unit
make: *** [rism1d.o] Error 1

When installing the full AmberTools, I can comment out '(cd rism && $(MAKE)
$(RISM) )' in the Makefile located in $AMBERHOME/AmberTools/src, and the
rest of the suite is able to finish installing. I would like to also
install rism1d, but I don't know how to circumvent these errors. Any help
would be greatly appreciated. Thanks in advance.

Sid
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Apr 18 2012 - 01:30:02 PDT
Custom Search