[issm-support] Fwd: trouble installing triangle

Larour, Eric (3248) eric.larour at jpl.nasa.gov
Tue Mar 18 13:36:23 PDT 2014


Definitely comes from your gfortran package you downloaded. I would stay away from it for now,
use instead the one in /usr/bin. If you don't have a gcc in /usr/bin, you might have to download Xcode.
If you have it, then in your .bashrc, you need to set /usr/bin before /usr/local/gfortran/bin in your PATH.

export $PATH="/usr/bin:$PATH"

Tell me how it goes,

Eric L.

From: Sasha Carter <watercat at mail.utexas.edu<mailto:watercat at mail.utexas.edu>>
Date: Tuesday, March 18, 2014 1:34 PM
To: larour <eric.larour at jpl.nasa.gov<mailto:eric.larour at jpl.nasa.gov>>
Cc: "issm-support at issm.ess.uci.edu<mailto:issm-support at issm.ess.uci.edu>" <issm-support at issm.ess.uci.edu<mailto:issm-support at issm.ess.uci.edu>>
Subject: Re: [issm-support] Fwd: trouble installing triangle

thanks Eric,
I have had trouble with this gcc in the past . . .

[lake:trunk/externalpackages/petsc] spcarter% which gcc
/usr/local/gfortran/bin/gcc

[lake:trunk/externalpackages/petsc] spcarter% gcc --version
gcc (GCC) 4.6.2 20111019 (prerelease)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

-sasha



On Tue, Mar 18, 2014 at 1:31 PM, Larour, Eric (3248) <eric.larour at jpl.nasa.gov<mailto:eric.larour at jpl.nasa.gov>> wrote:
Sasha,

could you send us the results of the following commands?

which gcc
gcc —version

Googling this one, looks like you might have picked up a funky gcc for your 10.6.8

Eric L.

From: Sasha Carter <spcarter at ucsd.edu<mailto:spcarter at ucsd.edu>>
Date: Tuesday, March 18, 2014 1:26 PM
To: "issm-support at issm.ess.uci.edu<mailto:issm-support at issm.ess.uci.edu>" <issm-support at issm.ess.uci.edu<mailto:issm-support at issm.ess.uci.edu>>
Subject: [issm-support] Fwd: trouble installing triangle


Hello ISSM support folks,
so after carefully working through the installation process I am now stuck on triangle
I am running on Mac os 10.6.8
64 bit
and upon running
install-macosx64.sh

I get the following:

Downloaded file will be saved as: triangle.zip
Looking for: triangle.zip
Found: triangle.zip
File triangle.zip already exists and will not be downloaded...
Archive:  triangle.zip
  inflating: A.poly
  inflating: README
  inflating: makefile
  inflating: showme.c
  inflating: triangle.c
  inflating: triangle.h
  inflating: tricall.c
gcc -arch x86_64  -DNO_TIMER -fPIC -DTRILIBRARY -c triangle.c
gcc: error: x86_64: No such file or directory
gcc: error: unrecognized option ‘-arch’

Thanks,
Sasha

--
Sasha Peter Carter PhD
Postdoctoral Scholar
Scripps Institution of Oceanography
UC San Diego, La Jolla, CA

--
Sasha Peter Carter PhD
Postdoctoral Scholar
Scripps Institution of Oceanography
UC San Diego, La Jolla, CA

--
Sasha Peter Carter PhD
Postdoctoral Scholar
Scripps Institution of Oceanography
UC San Diego, La Jolla, CA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://issm.ess.uci.edu/pipermail/issm-support/attachments/20140318/ea404774/attachment-0001.html>


More information about the issm-support mailing list