[MITgcm-support] Re: compiling MITgcm
Kelvin Richards
rkelvin at hawaii.edu
Wed Feb 16 13:13:39 EST 2005
Hi Ed,
Thanks for your swift reply. I suspect it is our gcc and g77
installation. I can't find the
libg2c.so.0 library. I will get our guys to look into that.
Regarding the Altix, our computer support person, Shinya, was looking
into that and managed to get quite a bit further than I did. He left
after I did last night and I will check with him when he gets in later
today. In the meantime, when I try to run the Makefile I get the error
ld: cannot find -lPEPCOF90
If this is a relatively easy thing to fix let me know. If not I will
send a full transcript and the Makefile, once I have talked to Shinya.
Mahalo
Kelvin
>Hi Kelvin,
>
>I've subscribed you to this list so any further emails from your address
>will be accepted automatically. And I've included your original email
>below for reference.
>
>In regards to the Sun build/test problems, it seems that your gcc-g77
>install isn't happy. Its trying to use a dynamically linked g2c library
>and this is probably due to an odd or botched gcc-g77 install. Google
>gives a number of links that report similar errors such as:
>
> http://gcc.gnu.org/ml/gcc/2001-10/msg00197.html
>
>So are you *sure* that gcc and g77 are properly installed on your Suns?
>For instance, are you able to produce working Fortran programs using
>simple "hello_world.f"-type programs?
>
>And for the Altix system, could you please send us a more detailed bug
>report? A cut-and-paste of the exact commands you used and the exact
>error message(s) you received would be very helpful. A significant
>fraction of the current MITgcm users are routinely running their
>simulations on Altix systems so they are known to work well!
>
>Ed
>
>
>=== Original Email ===
> From:
>Kelvin Richards <rkelvin at hawaii.edu>
> To:
>mitgcm-support at mitgcm.org
> Subject:
>compiling MITgcm
> Date:
>Tue, 15 Feb 2005 16:28:12 -1000
>(21:28 EST)
>
> Hello,
>
> I am trying to install the MITgcm on our local machines and am
> having a
> number of problems. I hope you dont mind questions from novices!
>
> Solaris machine:
>
> Following the installation guidelines on your web page I tried
> 'verifying' exp5. The automatic machine detection picks up the
> build_option sunos_sun4u_g77, produces an executable, but fails
> when
> run, complaining that it cannot find libg2c.so.0. This appears
> to be a
> library of gcc_g77 which is not installed on our machines.
> (using
> sunos_sun4u_f77 gives the same error). Is it possible to run
> without
> this particular library? If so how? If not, then I will see
> about
> getting it installed. However it would be useful if there a list
> of the
> necessary libraries to run the model, and where the code is
> expecting
> them to be (I cannot find a reference to libraries from a quick
> peruse
> of the Makefile).
>
> For exp0 the compilation failed completely at the linking stage
> (not
> sure why at this stage)
>
> Altix:
>
> I tried compiling on an Altix machine (using both the automatic
> detection and linux_ia64_efc+mpi_altix). Both failed. I will
> seek local
> advice, but is there someone who I can ask for help if
> necessary?
>
> Mahalo
> Kelvin
>
--
Kelvin Richards
IPRC/SOEST
University of Hawaii, POST Bldg. 406E
1680 East West Road
Honolulu, Hawaii 96822
Telephone: (808) 956-5399
Fax: (808) 956-9425
email: rkelvin at hawaii.edu
More information about the MITgcm-support
mailing list