Re: [AMBER] Installing AmberTools16 - Sierra MacOs

From: Giannis Gl <igaldadas.gmail.com>
Date: Mon, 13 Mar 2017 20:32:11 +0000

Hello!

The exact sequence of commands that I used is:


./configure -macAccelerate clang

make install


And the last lines before the error appears are the followings:



mv new2oldparm /Users/yiannisgaldadas/Programs/AmberTools16/amber16/bin

override rwxr-xr-x root/staff for
/Users/yiannisgaldadas/Programs/AmberTools16/amber16/bin/new2oldparm? (y/n
[n]) y

/bin/rm -f

(cd addles && /Applications/Xcode.app/Contents/Developer/usr/bin/make
install)

cd ../lib && /Applications/Xcode.app/Contents/Developer/usr/bin/make
mexit.o nxtsec.o

make[3]: `mexit.o' is up to date.

make[3]: `nxtsec.o' is up to date.

gfortran -DBINTRAJ -DEMIL -fPIC
-I/Users/yiannisgaldadas/Programs/AmberTools16/amber16/include
-I/Users/yiannisgaldadas/Programs/AmberTools16/amber16/include \

-o /Users/yiannisgaldadas/Programs/AmberTools16/amber16/bin/addles
lesmain.o addspace.o readprm.o writprm.o readcrd.o writcrd.o pick.o rline.o
  nxt.o intgr.o find.o of.o geti.o unit.o getc.o alert.o
echo.o get4c.o getd.o wlesprm.o lesprm.o random.o les2prm.o checksz.o
addspace_atm1st.o \

../lib/mexit.o ../lib/nxtsec.o

ld: can't write output file:
/Users/yiannisgaldadas/Programs/AmberTools16/amber16/bin/addles for
architecture x86_64

collect2: error: ld returned 1 exit status

make[2]: ***
[/Users/yiannisgaldadas/Programs/AmberTools16/amber16/bin/addles] Error 1

make[1]: *** [serial] Error 2

make: *** [install] Error 2





On 13 March 2017 at 20:27, Hai Nguyen <nhai.qn.gmail.com> wrote:

> Did you use clang + gfortran?
>
> Hai
>
> On Mon, Mar 13, 2017 at 4:27 PM, Hai Nguyen <nhai.qn.gmail.com> wrote:
>
> > hi,
> >
> > can you post exact command and output? thanks.
> >
> > Hai
> >
> >
> > On Mon, Mar 13, 2017 at 3:10 PM, Giannis Gl <igaldadas.gmail.com> wrote:
> >
> >> Dear Amber users,
> >>
> >> I try to install AmberTools16 on my MacBood (macOS Sierra, 10.12.3),
> >> but the make install command terminates with the following error:
> >>
> >>
> >> ld: can't write output file: /Users/yiannisgaldadas/
> >> Programs/AmberTools16/amber16/bin/addles for architecture x86_64
> >>
> >> collect2: error: ld returned 1 exit status
> >>
> >> make[2]: *** [/Users/yiannisgaldadas/Programs/AmberTools16/amber16/bin/
> >> addles]
> >> Error 1
> >>
> >> make[1]: *** [serial] Error 2
> >>
> >> make: *** [install] Error 2
> >>
> >>
> >> I have already installed gfortrant compiler and patched the file that is
> >> recommended in the following archive to solve another error that
> >>
> >> occurred
> >>
> >>
> >> http://archive.ambermd.org/201702/0042.html
> >>
> >>
> >> but I can not find any solution to the error that I get now.
> >>
> >> Any idea what might cause this error?
> >>
> >>
> >> Thanks,
> >>
> >> Yiannis
> >> _______________________________________________
> >> AMBER mailing list
> >> AMBER.ambermd.org
> >> http://lists.ambermd.org/mailman/listinfo/amber
> >>
> >
> >
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Mar 13 2017 - 14:00:02 PDT
Custom Search