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,
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),
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.
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.