[MITgcm-support] Re: compiling MITgcm
Kelvin Richards
rkelvin at hawaii.edu
Wed Feb 16 16:40:13 EST 2005
Ed,
1) Solaris: the problem is indeed with our version of g77 (the
'helloworld' test failed)
2) Altix: A little more detail (sorry for my inadequate description earlier)
> - Which version of MITgcm are you using?
>
>
I'm not sure how I check this, but I used CVS yesterday to download the
latest version using "cvs co MITgcm"
> - Which compiler(s) (and versions) are you trying to use?
> - Which optfile are you trying to use? Has it been
> customized? If so, how?
>
>
I am using a modified version of "linux_ia64_efc+mpi_altix" (see
attached) where I have change the "LIBS", "INCLUDES" and "INCLUDEDIRS"
lines.
> - What was the *exact* sequence of commands you used
> to attempt the build?
>
>
in ...../exp5/include I have typed
"./genmake2 -mods=../code -of ../linux_ia64_efc+mpi_altix"
(I had to cp'ed the genmake2 file to the " include" directory)
"make depend" (see attached file make_depend_out.txt)
"make" (see attached make_out.txt)
> - What were the exact error messages?
>
See attached files. There is "echo: No match" at the end of
make_depend_out.txt (which I have ignored)
On the first run through of make I got a string of messages
"efc: Warning: The Intel Fortran driver is now named ifort."
which I have suppressed with "-quiet"
The second run through with make is in the attached file. Because of the
above warning I did try replacing the INCLUDE and INCLUDEDIRS to point
to /opt/intel/ifort8/...... but that made no difference. I did find
libPEPCF90 but only under efc7, not ifort8.
Cheers
Kelvin
>On Wed, 2005-02-16 at 08:13 -1000, Kelvin Richards wrote:
>
>
>>>
>>> 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.
>>
>>
>
>
>Hi Kelvin,
>
>Theres a very easy test: if you can create simple little "hello world"-
>type programs that compile and run then your compiler install is
>probably OK. And if not, then you have a serious compiler install/setup
>problem that has nothing to do with MITgcm.
>
>
>
>
>>> 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.
>>
>>
>
>The quality of the help you'll get on this list is directly related to
>the quality of your bug reports.
>
>I asked you for a list (preferably a "cut-and-paste") of the commands
>and error messages and you still aren't giving much useful information.
>Things that would be very helpful are:
>
> - Which version of MITgcm are you using?
> - Which compiler(s) (and versions) are you trying to use?
> - Which optfile are you trying to use? Has it been
> customized? If so, how?
> - What was the *exact* sequence of commands you used
> to attempt the build?
> - What were the exact error messages?
>
>Based on the error above, I'll *guess* that you're trying to use one of
>the Intel compilers (there are many versions: ifort, ifc, and efc) and
>that its not able to locate a library that you probably specified.
>There are examples of "-lPEPCF90" libraries used in some of our
>optfiles:
>
> MITgcm/tools/build_options/
>
>but none of them specify a "-lPEPCOF90" as you describe. So without
>more information, we can only make wild guesses...
>
>Ed
>
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20050216/fbf7aeff/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20050216/fbf7aeff/attachment.el>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: make_depend_out.txt
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20050216/fbf7aeff/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: make_out.txt
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20050216/fbf7aeff/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: linux_ia64_efc+mpi_altix
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20050216/fbf7aeff/attachment-0001.el>
More information about the MITgcm-support
mailing list