[MITgcm-support] Unable to build tutorial_barotropic_gyre with Intel compilers

Jean-Michel Campin jmc at mit.edu
Mon Apr 27 22:28:43 EDT 2020


Hi John,

Glad you fixed your problem. And no need to appology. It's just more
efficient for this type of problem when reported to support list.

Cheers,
Jean-Michel

On Tue, Apr 28, 2020 at 09:13:05AM +1000, John Miezitis wrote:
> Hi Ed,
> 
> Thanks for that I missed the bit in the documentation referring to
> the pre-built option files (https://mitgcm.readthedocs.io/en/latest/getting_started/getting_started.html?highlight=mailing#genmake2-optfiles)
> and tried to write my own.
> 
> Apologies to Jean-Michel for wasting his time.
> 
> John Miezitis
> Senior HPC Systems Engineer
> Tasmanian Partnership for Advanced Computing (TPAC)
> University of Tasmania
> 
> On 27/4/20 4:53 pm, Edward Doddridge wrote:
> >
> >Hi John,
> >
> >Are you trying to run on Kunanyi?
> >
> >I just tried the following
> >
> >module load intel
> >
> >module load openmpi
> >
> >md build
> >
> >../../../tools/genmake2 -mods ../code -of
> >../../../tools/build_options/linux_amd64_ifort+impi
> >
> >make depend
> >
> >make
> >
> >cd ..
> >
> >cd run
> >
> >ln -s ../input/* .
> >
> >ln -s ../build/mitgcmuv .
> >
> >./mitgcmuv > output.txt
> >
> >And it worked. Does you error persist if you use the above commands?
> >
> >Regards,
> >
> >Ed
> >
> >*Edward Doddridge*
> >/Research Associate and Theme Leader/
> >
> >/Australian Antarctic Program Partnership (AAPP)/
> >
> >/Institute for Marine and Antarctic Studies (IMAS)/
> >
> >/University of Tasmania (UTAS)/
> >
> >*From: *MITgcm-support <mitgcm-support-bounces at mitgcm.org> on
> >behalf of John Miezitis <john.miezitis at tpac.org.au>
> >*Reply to: *"mitgcm-support at mitgcm.org" <mitgcm-support at mitgcm.org>
> >*Date: *Monday, 27 April 2020 at 16:07
> >*To: *"mitgcm-support at mitgcm.org" <mitgcm-support at mitgcm.org>
> >*Subject: *[MITgcm-support] Unable to build
> >tutorial_barotropic_gyre with Intel compilers
> >
> >Hi All,
> >
> >I am trying to build tutorial_barotropic_gyre on behalf of a
> >researcher.  I have had no previous experience with MITgcm so
> >thought to build the tutorial following the documentation here https://mitgcm.readthedocs.io/en/latest/getting_started/getting_started.html#where-to-find-information.
> >
> >
> >Having cloned MITgcm I attempted to build tutorial_barotropic_gyre
> >with no modifications.  The genmake2 and make depend completed
> >without errors.
> >
> >The make aborts when compiling mds_reclen.f with the following:
> >
> >cat mds_reclen.F |  cpp -traditional -P -DHAVE_SYSTEM -DHAVE_FDATE
> >-DHAVE_ETIME_FCT -DHAVE_CLOC -DHAVE_SETRLSTK -DHAVE_SIGREG
> >-DHAVE_STAT -DHAVE_FLUSH  -I.  | ../../../tools/set64bitConst.sh 
> >> mds_reclen.f
> >ifort   -c mds_reclen.f
> >mds_reclen.f(618): error #6404: This name does not have a type,
> >and must have an explicit type.   [WORDLENGTH]
> >       MDS_RECLEN = nnn*WORDLENGTH
> >------------------------^
> >compilation aborted for mds_reclen.f (code 1)
> >make[1]: *** [mds_reclen.o] Error 1
> >make[1]: Leaving directory `/dstore1/software/apps/src/MITgcm/verification/tutorial_barotropic_gyre/build'
> >make: *** [fwd_exe_target] Error 2
> >
> >Any suggestions welcome.
> >
> >Thank you.
> >
> >Cheers.
> >John Miezitis
> >
> >Senior HPC Systems Engineer
> >Tasmanian Partnership for Advanced Computing (TPAC)
> >University of Tasmania
> >
> >
> >
> >University of Tasmania Electronic Communications Policy (December, 2014).
> >This email is confidential, and is for the intended recipient
> >only. Access, disclosure, copying, distribution, or reliance on
> >any of it by anyone outside the intended recipient organisation is
> >prohibited and may be a criminal offence. Please delete if
> >obtained in error and email confirmation to the sender. The views
> >expressed in this email are not necessarily the views of the
> >University of Tasmania, unless clearly intended otherwise.
> >
> >
> >_______________________________________________
> >MITgcm-support mailing list
> >MITgcm-support at mitgcm.org
> >http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support

> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support



More information about the MITgcm-support mailing list