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

Conda port issues

tcraig

Member
There are a few issues in the latest conda install as implemented in CICE.

You may need to install some xcode tools. To do so, try "xcode-select --install".

There is also a bug in the latest conda software. If you compile a case in CICE that uses OpenMP but NOT MPI (i.e. -p 1x2), you may see this error,

Undefined symbols for architecture x86_64:
"___emutls_get_address", referenced from:
___ice_dyn_evp_1d_MOD_domp_init._omp_fn.0 in ice_dyn_evp_1d.o
___ice_dyn_evp_1d_MOD_domp_get_domain_rlu in ice_dyn_evp_1d.o

This can be reconciled by adding "-lgcc_eh" to the link step. This would be done in the Macros file and might look something like this (the ifneq block is new),

# Libraries to be passed to the linker
SLIBS := -L$(CONDA_PREFIX)/lib -lnetcdf -lnetcdff -llapack
ifneq ($(ICE_COMMDIR), mpi)
SLIBS += -lgcc_eh
endif

We will report the bug and may consider implementing some work-arounds in CICE if this is not fixed soon. Feel free to report any other conda issues as they arise.
 
Top