Giter Club home page Giter Club logo

Comments (3)

natefoo avatar natefoo commented on June 3, 2024

The correct value for --with-slurm-inc is probably --with-slurm-inc=/soft/slurm-17.11.5/include, but you can find out more by looking in to config.log, going to the bottom, and then scrolling upward to find the test failure that resulted in this error, which should provide more context.

from slurm-drmaa.

jvanbraekel avatar jvanbraekel commented on June 3, 2024

Hello,

I got the same error, using SLURM 17.11.2 when both libraries and headers files where present but the libslurmdb sources were missings. On my Ubuntu distribution slurm source and slurmdb sources are part of two differents pakages : libslurm-dev and libslurmdb-dev namely. Installing the last one have fix the issue. Maybe that can help.

from slurm-drmaa.

sysadmincaos avatar sysadmincaos commented on June 3, 2024

Hello,

Finally, I solved it by following step-by-step this procedure:
curl -#o slurm-drmaa-1.0.7.tar.gz http://apps.man.poznan.pl/trac/slurm-drmaa/downloads/9
tar -xf slurm-drmaa-1.0.7.tar.gz
cd slurm-drmaa-1.0.7
p=$(which srun)
p=${p%/bin/srun}/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH="$p"
./configure #CFLAGS="-g -O0" --> aquí, antes del #CFLAGS, le meto el --prefix que yo quiera
make
make install
# rm -r slurm-drmaa*
# Make the config file writeable by group_galaxy:
sudo touch /etc/slurm_drmaa.conf
sudo cp /etc/slurm_drmaa.conf /etc/slurm_drmaa.conf.original
sudo chown :group_galaxy /etc/slurm_drmaa.conf
sudo chmod g+w /etc/slurm_drmaa.conf
# Test the drmaa-run binary by submitting a small job:
export DRMAA_LIBRARY_PATH=/usr/local/lib/libdrmaa.so
echo 'echo "Test executed on host $(hostname) by user $USER"' > test.drmaa
drmaa-run bash test.drmaa

Change versions for your convenience and copy new generated files to your SLURM lib and include folders.

from slurm-drmaa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.