Open kumargp opened 6 years ago
Is pspline needed for xgc?
I have it building successfully and don't see that as a dependency anywhere?
What is prompting this? Is there an error message during the XGC config/build you can share?
It is used in XGC Fortran, and is included in the repo. Similar to this is camtimer. Without these there will be error at runtime, not sure about compile time. In avatar we historically use Eisung's compiled ones.
These are compiled once before xgcm. These library paths are set in the Makefile in XGC1/XGC1_3fldEMsolver/
grep pspline ~/xgc_scorec/XGC1/XGC1_3fldEMsolver/Makefile.avatar PSPLINE_DIR=/lore/esyoon/openlib/ntcc-gcc-4.9.2/pspline/LINUX PSPLINE=-L$(PSPLINE_DIR)/lib -I$(PSPLINE_DIR)/mod -lpspline -lezcdf
Here is the wiki. https://github.com/SCOREC/xgc_scorec/wiki/How-to-build-XGCM-with-SCOREC-libraries
We should add a CMake configuration for the Fortran portion of the code instead of using a raw Makefile.
Trying to install xgc/pspline :