[slurm-users] Generating OPA topology.conf
Marcus Wagner
wagner at itc.rwth-aachen.de
Fri Jun 15 00:19:10 MDT 2018
Hi Jeffrey,
yes I installed from rpm, but this is a self built rpm. The whole slurm
installation resides in /opt/slurm.
/opt/slurm/bin
/opt/slurm/conf
/opt/slurm/include
/opt/slurm/lib
/opt/slurm/lib64
/opt/slurm/log
/opt/slurm/MM_BAK
/opt/slurm/sbin
/opt/slurm/share
/opt/slurm/var
But it should work in both cases. In my case, the slurm-prefix is
/opt/slurm, in your/common case it is /usr
I must admit, that I'm also no cmake expert, just enough, that I could
change the CMakeLists.txt after googling ;)
Best
Marcus
On 06/14/2018 03:21 PM, Jeffrey Frey wrote:
>> Thanks Jeffrey for that tool, for me it is working. I changed a little bit the CMakeLists.txt such that slurm can be found also in non standard install paths ;)
>>
>> replaced
>> SET (SLURM_PREFIX "/usr/local" CACHE PATH "Directory in which SLURM is installed.")
>> with
>> FIND_PATH(SLURM_PREFIX NAMES sbatch)
>>
>> and changed
>> FIND_PATH(SLURM_INCLUDE_DIR NAMES slurm/slurm.h)
>> FIND_LIBRARY(SLURM_LIBRARY NAMES libslurm.so)
>> to
>> FIND_PATH(SLURM_INCLUDE_DIR NAMES slurm/slurm.h HINTS ${SLURM_PREFIX}/../include)
>> FIND_LIBRARY(SLURM_LIBRARY NAMES libslurm.so HINTS ${SLURM_PREFIX}/../lib64)
> Am I right in discerning that you installed from an RPM, for example, getting headers in /usr/include/slurm and the libraries in /usr/lib64?
>
>
>
> ::::::::::::::::::::::::::::::::::::::::::::::::::::::
> Jeffrey T. Frey, Ph.D.
> Systems Programmer V / HPC Management
> Network & Systems Services / College of Engineering
> University of Delaware, Newark DE 19716
> Office: (302) 831-6034 Mobile: (302) 419-4976
> ::::::::::::::::::::::::::::::::::::::::::::::::::::::
>
>
>
>
>
--
Marcus Wagner, Dipl.-Inf.
IT Center
Abteilung: Systeme und Betrieb
RWTH Aachen University
Seffenter Weg 23
52074 Aachen
Tel: +49 241 80-24383
Fax: +49 241 80-624383
wagner at itc.rwth-aachen.de
www.itc.rwth-aachen.de
More information about the slurm-users
mailing list