Re: [AMBER] X11 problems on Mac OS X 10.8

From: David A Case <case.biomaps.rutgers.edu>
Date: Thu, 4 Oct 2012 12:30:29 -0400

On Thu, Oct 04, 2012, Jason Swails wrote:
>
> I've never had this problem, and I don't even have clang installed via
> MacPorts.

I don't have my 10.8 macbook with me right now, but I did (seem to) have to
install clang from MacPorts. You also have to run a clang_select (as I
remember....)
>
> > mv libsqm.a /Users/jonathangough/amber12/lib
> > gfortran -DBINTRAJ -c -O0 -ffree-form -I../../AmberTools/src/pbsa
> > -I../../AmberTools/src/sqm -I../../AmberTools/src/rism -I../../include
> > -I/Users/jonathangough/amber12/include
> > -I/Users/jonathangough/amber12/include -o file_io_dat.o file_io_dat.F90
> > /opt/local/bin/as: assembler (/opt/local/bin/clang) not installed
> >
> > I used macports to install clang-2.9
> >
> > new-host:bin jonathangough$ whereis clang
> > /usr/bin/clang

What does "ls -l /usr/bin/clang" report? Note that the compiler is looking
for /opt/local/bin/clang, *not* /usr/bin/clang.

> > new-host:bin jonathangough$
> >
> > and where it is looking for it - here is what I have
> >
> > ew-host:bin jonathangough$ pwd
> > /opt/local/bin
> > new-host:bin jonathangough$ ls clang*
> > clang++-mp-2.9 clang-mp-2.9

You don't have the needed /opt/local/bin/clang. Try a command like
"port select --list clang" to get info. The required command is probably
something like "port select clang clang-mp-2.9" [Depending on your compiler,
you may get messages to install and select some other version of clang.]

....dac


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Oct 04 2012 - 10:00:03 PDT
Custom Search