.Jason here is the results, i also am listing the version (missing a log
of the middle stuff - can send that along if you like.
which gfortran
/opt/local/bin/gfortran
Jonathans-MacBook-Air:~ jonathangough$ gfortran -v
Using built-in specs.
Target: x86_64-apple-darwin12
--with-pkgversion='MacPorts gcc44 4.4.7_6'
Thread model: posix
gcc version 4.4.7 (MacPorts gcc44 4.4.7_6)
which gcc
/opt/local/bin/gcc
Jonathans-MacBook-Air:~ jonathangough$ gcc -v
Using built-in specs.
Target: x86_64-apple-darwin12
--with-pkgversion='MacPorts gcc44 4.4.7_6'
Thread model: posix
gcc version 4.4.7 (MacPorts gcc44 4.4.7_6)
which g++
/opt/local/bin/g++
Jonathans-MacBook-Air:~ jonathangough$ g++ -v
Using built-in specs.
Target: x86_64-apple-darwin12
--with-pkgversion='MacPorts gcc44 4.4.7_6'
Thread model: posix
gcc version 4.4.7 (MacPorts gcc44 4.4.7_6)
.DAC
port select --list clang
Available versions for clang:
mp-clang-2.9
none (active)
Then I did:
sudo port select clang mp-clang-2.9
then of course
make clean
./configure gnu
make install
now compiling....
and successfully installed. now to test.
Thanks!
On Thu, Oct 4, 2012 at 12:30 PM, David A Case <case.biomaps.rutgers.edu>wrote:
> 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
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Oct 04 2012 - 10:30:03 PDT