installing elegant on NERSC Cori
Posted: 05 Sep 2018, 18:38
Hi,
I just installed SDDS and elegant on the CORI system on NERSC. I haven't seen messages about installing on NERSC, so I thought it was worth mentioning what I did. I can give the full procedure if anyone is interested. Among other things, I had to remove the special
ifeq (cori, $(findstring cori, $(HOSTNAME)))
parts of several Makefiles to get it to compile. I used the PrgEnv-intel module, was I supposed to use the PrgEnv-gnu module instead?
Everything seems to work okay except for sddsbrightness, which failed to build giving the error
sddsurgent.c:322: multiple definition of `main'
Maybe that is also related to using the intel compilers. But I don't think at the ALS we will be using those functions.
Also, the NERSC computers and LBL's LRC cluster all use $GSL_DIR as the environment variable for the path to the GSL installation.
In the Makefiles where SYSGSL is defined, it would simplify things to add the lines
$(GSL_DIR)/lib/libgsl.a \
$(GSL_DIR)/lib/libgsl.so \
to the list of places to look for the GSL libraries. If the ANL system uses a different environment variable, that would be just as good.
Thanks,
Gregg
I just installed SDDS and elegant on the CORI system on NERSC. I haven't seen messages about installing on NERSC, so I thought it was worth mentioning what I did. I can give the full procedure if anyone is interested. Among other things, I had to remove the special
ifeq (cori, $(findstring cori, $(HOSTNAME)))
parts of several Makefiles to get it to compile. I used the PrgEnv-intel module, was I supposed to use the PrgEnv-gnu module instead?
Everything seems to work okay except for sddsbrightness, which failed to build giving the error
sddsurgent.c:322: multiple definition of `main'
Maybe that is also related to using the intel compilers. But I don't think at the ALS we will be using those functions.
Also, the NERSC computers and LBL's LRC cluster all use $GSL_DIR as the environment variable for the path to the GSL installation.
In the Makefiles where SYSGSL is defined, it would simplify things to add the lines
$(GSL_DIR)/lib/libgsl.a \
$(GSL_DIR)/lib/libgsl.so \
to the list of places to look for the GSL libraries. If the ANL system uses a different environment variable, that would be just as good.
Thanks,
Gregg