SCOREC / rhel7-dev

dotfiles, scripts, and documentation useful for developers using the newer RHEL7 systems at RPI
GNU General Public License v3.0
0 stars 0 forks source link

Readline in RHEL #2

Open kumargp opened 6 years ago

kumargp commented 6 years ago

Trying to install xgc/pspline :

~@conspiracy:~$ module spider readline
Lmod has detected the following error:  Unable to find: "readline"
wrtobin commented 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?

kumargp commented 6 years ago

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

wrtobin commented 6 years ago

We should add a CMake configuration for the Fortran portion of the code instead of using a raw Makefile.