Open platipodium opened 1 year ago
No I checked presence of PIO:
ls $CONDA_PREFIX/include/pio*mod
/opt/conda/envs/schism/include/pio.mod /opt/conda/envs/schism/include/piodarray.mod
/opt/conda/envs/schism/include/pio_kinds.mod /opt/conda/envs/schism/include/piolib_mod.mod
/opt/conda/envs/schism/include/pio_nf.mod /opt/conda/envs/schism/include/pionfatt_mod.mod
/opt/conda/envs/schism/include/pio_support.mod /opt/conda/envs/schism/include/pionfget_mod.mod
/opt/conda/envs/schism/include/pio_types.mod /opt/conda/envs/schism/include/pionfput_mod.mod
And then gave an additional hint as instructed in CMakeModules/Modules/FindPIO.cmake
, i.e. to help by setting env variable PIO_ROOT:
$> export PIO_ROOT=$CONDA_PREFIX
$> ./compile.sh macosx.gnu "-DAPP=COASTALS -DNO_PARMETIS=ON -DOLDIO=ON -DPIO_ROOT=/opt/conda/envs/schism" coastal YES NO
Still doesn't find it
@platipodium I think we could also open ticket in UFS Weather Model side. I wonder if they are testing Mac regularly our not.
@platipodium I think we could also open ticket in UFS Weather Model side. I wonder if they are testing Mac regularly our not.
I don't think this is a Mac issue as I am using a self-consistent conda environment. I believe the problem lies in the CMake module.
@janahaddad At this point we are not supporting macosx.gnu. I think even ufs-weather-model is not regularly checked on Mac. So, this is low priority at this point.
@janahaddad At this point we are not supporting macosx.gnu. I think even ufs-weather-model is not regularly checked on Mac. So, this is low priority at this point.
As mentioned above, I don't think it's a Mac issue but a conda issue. Has anyone tested this under linux/conda?
@platipodium I did not use conda but I compiled under Docker container + regular Python without any issue.
On my Mac M1 in a consistent conda environment, the
./compile.sh
fails to find the installed PIO library