[MITgcm-support] OpenAD test error

Patrick Heimbach heimbach at MIT.EDU
Tue Aug 5 00:00:19 EDT 2014


An update:
I just checked in an optfile for the pgi (pgf90) compiler.
You can obtain it by going to:
tools/build_options/
then do:
cvs update -A linux_amd64_pgf90

With this optfile, serial (a first step) OpenAD-generated code compiles successfully. 
I’ve used:
pgf90 11.7-0 64-bit target on x86-64 Linux

To build, go to verification/ and do:
./testreport -oad -of ../tools/build_options/linux_amd64_pgf90 -t OpenAD

-Patrick

On Aug 4, 2014, at 10:22 PM, Patrick Heimbach <heimbach at MIT.EDU> wrote:

> 
> Would you be able to update your ifort slightly?
> The code builds/compiles fine for ifort going back to 11.1.038,
> the furthest I’ve been able to go back so far, 
> but don’t know about ifort 10.
> (just for reference, the latest ifort versions are 14.0,
> version 11 dates back to ca. 2009).
> 
> -Patrick
> 
> 
> On Aug 4, 2014, at 8:58 PM, Xiangming Zeng <xzeng2 at ncsu.edu> wrote:
> 
>> 
>> Hi Patrick,
>> 
>> Thanks much for your help. The serial gfortran indeed works for me. But there's no corresponding mpi environment in my current HPC. And I want to use the parallel computing environment because the computation would be very expensive. As a result, I tends to use the ifort which my HPC has the corresponding mpi environment. 
>> 
>> I tried the serial ifort first. And it gave me errors. The ifort version is 10.1.022. Thanks a lot for your help. I have been stuck in compiling the OpenAD for a while. You help really means a lot to me. Really appreciate it. 
>> 
>> Xiangming
>> 
>> 
>> Error messages:
>> 
>> ./testreport -oad -of /he_data/he/xzeng2/MITgcm/tools/build_options/linux_amd64_ifort -t OpenAD
>> parsing options...  OK (COMMAND='./mitgcmuv_ad > output_oadm.txt')
>> creating the comparison code (using CC=cc)...  OK
>> skipping mpack build
>> 
>> default    10
>> G D M    C  A  F
>> e p a R  o  d  D
>> n n k u  s  G  G
>> 2 d e n  t  r  r
>> 
>> -------------------------------------------------------------------------------
>> 
>> Experiment:  OpenAD
>> 
>> genmake ... successful
>> clean build-dir: make Clean ... successful
>> make depend skipped!
>> make ...       CALL oad_AllocateMatching(OpenAD_tyc_1614,SMTR)
>> --------------------------------^
>> fortcom: Error: gad_exch_som_cb2m_oad.f, line 271: An allocatable dummy argument may only be argument associated with an allocatable actual argument.   [OPENAD_TYC_1616]
>>      CALL oad_AllocateMatching(OpenAD_tyc_1616,SMTR)
>> --------------------------------^
>> fortcom: Error: gad_exch_som_cb2m_oad.f, line 281: An allocatable dummy argument may only be argument associated with an allocatable actual argument.   [OPENAD_TYC_1618]
>>      CALL oad_AllocateMatching(OpenAD_tyc_1618,SMTR)
>> --------------------------------^
>> compilation aborted for gad_exch_som_cb2m_oad.f (code 1)
>> make: *** [gad_exch_som_cb2m_oad.o] Error 1
>> failed
>> 
>> -------------------------------------------------------------------------------
>> No results email was sent.
>> Mon Aug 4 18:44:52 EDT 2014
>> run: ./testreport -oad -of /he_data/he/xzeng2/MITgcm/tools/build_options/linux_amd64_ifort -t OpenAD
>> on : Linux login04 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
>> 
>>  OPTFILE=/he_data/he/xzeng2/MITgcm/tools/build_options/linux_amd64_ifort
>> 
>> Adjoint generated by OpenAD
>> 
>> default    10
>> G D M    C  A  F
>> e p a R  o  d  D
>> n n k u  s  G  G
>> 2 d e n  t  r  r
>> 
>> Y Y N N .. .. .. N/O   OpenAD
>> Start time:  Mon Aug  4 18:44:52 EDT 2014
>> End time:    Mon Aug  4 20:15:09 EDT 2014
>> ======== End of testreport execution =======
>> 
>> 
>> 
>> 
>> 
>> -- 
>> Xiangming Zeng
>> _______________________________________________
>> MITgcm-support mailing list
>> MITgcm-support at mitgcm.org
>> http://mitgcm.org/mailman/listinfo/mitgcm-support
> 
> 
> ---
> Patrick Heimbach | heimbach at mit.edu | http://www.mit.edu/~heimbach
> MIT | EAPS 54-1420 | 77 Massachusetts Ave | Cambridge MA 02139 USA
> FON +1-617-253-5259 | FAX +1-617-253-4464 | SKYPE patrick.heimbach
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support


---
Patrick Heimbach | heimbach at mit.edu | http://www.mit.edu/~heimbach
MIT | EAPS 54-1420 | 77 Massachusetts Ave | Cambridge MA 02139 USA
FON +1-617-253-5259 | FAX +1-617-253-4464 | SKYPE patrick.heimbach

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1588 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20140805/382f699c/attachment-0001.p7s>


More information about the MITgcm-support mailing list