[MITgcm-devel] MITgcm-cvs post from yunx

Chris Hill cnh at mit.edu
Fri Mar 26 11:43:38 EDT 2010


My approach would be to create a

  linux_amd64_gfortran_greenplanet

optfile (assuming that greenplanet has stuff in some "non-standard"
locations). But I can't find Jean-Michel to check whether that is
my official policy!

Chris

On Fri, Mar 26, 2010 at 11:30 AM, Menemenlis, Dimitris (3248)
<Dimitris.Menemenlis at jpl.nasa.gov> wrote:
> Jean-Michel, this particular modif was checked in by me, not by Yun Xu, so you can blame me if you think it's a bad idea.  I have sent a separate email to Constantinos asking for a better solution than the one he suggests below, i.e., a solution that will not require the next MITgcm user on greenplanet to waste his time when attempting to get testreport to work if she or he happens not to be aware of this exchange.  D.
>
> Dimitris Menemenlis <menemenlis at jpl.nasa.gov>
> Jet Propulsion Lab, California Institute of Technology
> MS 300-323, 4800 Oak Grove Dr, Pasadena CA 91109-8099, USA
> tel: 818-354-1656;  cell: 818-625-6498;  fax: 818-393-6720
>
> On Mar 26, 2010, at 7:14 AM, Jean-Michel Campin wrote:
>
>> Hi,
>>
>> I take this opportunity to remember everyone that in the case
>> someone is not 100% sure of how/if/what things need to be checked-in
>> in the main MITgcm cvs repo, one can always send an email to
>> the mitgcm-devel list (this is the purpose of this list,
>> and this is also the reason why anyone who had the permission
>> to check-in thing should be reggister to this list).
>>
>> Thanks,
>> Jean-Michel
>>
>> On Thu, Mar 25, 2010 at 06:36:29PM -0400, Constantinos Evangelinos wrote:
>>>>> Modified Files:
>>>>>      linux_amd64_gfortran
>>>>> Log Message:
>>>>> This specifies location of correct netcdf libraries on machine
>>>>> greenplanet at UCI.  It needs to come before /usr/include/netcdf-3, which
>>>>> is also present but contains the wrong libraries.  There is a small
>>>>> possiblity this change will break netcdf libraries for machines that
>>>>> happen to have /sopt/netcdf/netcdf3-gcc-serial directory with wrong
>>>>> libraries.  Please let me know if someone runs into this situation and I
>>>>> will revert back and look for a different solution.
>>>
>>> The solution is to set environment variables NETCDF_ROOT or NETCDF_HOME to the
>>> root directory of your netcdf installation or if they are separated set
>>> NETCDF_LIB or NETCDF_LIBDIR and NETCDF_INC or NETCDF_INCDIR respectively to
>>> the lib/include directories before calling genmake2 or testreport. Please do
>>> not hardcode unusual locations like the one above in a generic file. I would
>>> appreciate it if you could revert back to the previous version.
>>>
>>> Constantinos
>>> --
>>> Dr. Constantinos Evangelinos
>>> Department of Earth, Atmospheric and Planetary Sciences
>>> Massachusetts Institute of Technology
>>>
>
>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel
>



More information about the MITgcm-devel mailing list