Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

USER_FFLAGS not referenced on hopper?

raeder

Member
In cesm1_1_beta04 it appears that Macros.hopp2:USER_FFLAGS is not used anywhere.
I see in models/atm/cam/bld/Makefile.in that
FFLAGS += $(USER_FFLAGS)
but that line does not show up in the Makefile when I build CAM,
so no USER_FFLAGS flags are used in the build.
Am I missing something?

Thanks,
Kevin
 

eaton

CSEG and Liaisons
If you are doing a build using the CESM scripts then CAM's Makefile.in template is not used. That is only used by CAM standalone builds.
 

raeder

Member
eaton said:
If you are doing a build using the CESM scripts then CAM's Makefile.in template is not used. That is only used by CAM standalone builds.

That's good to know.

But the implication is still that using the CESM scripts rules out using USER_FFLAGS to
set compiler flags. If that's intentional, to prevent users from setting flags that would cause
problems, that's sort of OK, but there should be a note where USER_FFLAGS is set saying that
it doesn't actually do anything, at least on hopper.

Kevin
 

jedwards

CSEG and Liaisons
Staff member
Hi Kevin,

You are correct USER_FFLAGS is no longer used. You can either edit FFLAGS directly or use USER_FFLAGS and add a line at the end
of Macros.hopp2

FFLAGS+=$(USER_FFLAGS)

- Jim
 
Top