Compiling error - IFPORT (Onyx)

95 views
Skip to first unread message

elizabeth....@gmail.com

unread,
Sep 28, 2022, 2:42:13 PM9/28/22
to funwave-tvd
Hi,

I am trying to compile FUNWAVE (TVD-master, v3.4, v3.6, etc) in parallel on the Onyx HPC machine.  I saw the provided makefile for Onyx, but I am still getting an error related to reading/finding IFPORT.  

I'm using ftn (cray) and openmpi compilers.  I can locate the ifport.mod in the HPC  environment (/opt/intel/include), but I am having trouble pointing to it and including it in the makefile.

Any insight and/or suggestions would be greatly appreciated. 
Thanks!

Matt Malej

unread,
Sep 29, 2022, 9:49:29 AM9/29/22
to elizabeth....@gmail.com, funwave-tvd
FUNWAVE-TVD repo has two build systems (new vs. old ... literally). For our ERDC machines, I normally use the old system Makefiles. See here:

~/FUNWAVE-TVD/GNUMake/Old_Version_Makefiles$ ls

Makefile-funwaveRDE                   Makefile-Lightning-Cray        Makefile-Mills-Vessel           Makefile-Onyx-Vessel-Sediment-intel

Makefile-Koehr-intel                  Makefile-Lightning-Intel       Makefile-Mills-Vessel-Sediment  Makefile-Topaz-intel

Makefile-Koehr-Meteo-intel            Makefile-MacOS-Homebrew-MPICH  Makefile-Onyx-intel             Makefile-Topaz-sgi

Makefile-Koehr-Sediment-intel         Makefile-Mills                 Makefile-Onyx-Meteo-intel       Makefile-Topaz-sgi-OpenSS

Makefile-Koehr-Vessel-intel           Makefile-Mills-Sediment        Makefile-Onyx-Sediment-intel

Makefile-Koehr-Vessel-Sediment-intel  Makefile-Mills-Spherical       Makefile-Onyx-Vessel-intel


Then, you can copy over the Makefile-Onyx-intel to your ~/FUNWAVE-TVD/src directory. Two kinks (as I didn't push an update to github on this yet), you will have to add mod_tide.F on line 73in the Makefile-Onyx-intel to "MODS =" list. Finally, before you compile, you want to check your modules on Onyx, by typing module list.

You likely have PrgEnv-cray loaded instead of intel. So, execute a module swap prior with module swap PrgEnv-cray PrgEnv-intel

After that you should be able to build the central module and if you don't have a 'bin' directory created one directory above 'src', the executable called 'funwave_central" will be placed right in your 'src' directory. To build type in 'src' directory:

make -f Makefile-Onyx-intel

For more info, or ERDC/Onyx/Jim tutorials, contact me directly. 


--
You received this message because you are subscribed to the Google Groups "funwave-tvd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to funwave-tvd...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/funwave-tvd/8d0f73c9-d248-41cf-bcd5-40a335f54efen%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages