[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ESPResSo-users] Espresso installation- errors with more than 3 tasks- G

From: Vincent Ustach
Subject: [ESPResSo-users] Espresso installation- errors with more than 3 tasks- GPU + MPI
Date: Thu, 10 Nov 2016 16:21:03 -0800

Hi all,

I am having trouble updating Espresso on a cluster. I am trying to install version 3.3.0-2099-gbeb1108

The autotools configure and make seem to go fine, and I can run a script with ntasks = 1, 2, or 3, however, with ntasks => 4, Espresso complains:

all CUDA-capable devices are busy or unavailable
    while executing
"cuda setdevice $device"
    (file "freely_rotating_chains.tcl" line 10)
srun: error: surface138: task 0: Exited with exit code 1

I am submitting batch scripts on a slurm cluster using

export ESPRESSO_SOURCE="/g/g14/ustach2/espresso/may2016/espressomd/build2/"
module load cudatoolkit/7.5
srun --ntasks=4 $ESPRESSO_SOURCE/Espresso $FILE1 -j 15 40 . 0 &

My installation steps are

1) git clone git://
2) cd espressomd
3) ./
4) mkdir build2
5) cd build2
6) mv myconfig.hpp path/espresso/may2016/espressomd/build2/
7)  use boost-mpi-1.55.0
8) use gcc-4.9.3p
9) use openmpi-gnu-debug-1.4.3
10) module load cudatoolkit/7.5
11) ../configure --with-mpi=yes --with-fftw=yes --with-cuda=/opt/cudatoolkit-7.5 --with-boost=/usr/local/tools/boost-mpi-1.55.0/
11) make
12) make install

I have attached the Espresso script, my configure log and the myconfig.hpp

Any advice on working through this problem is greatly appreciated.

Many thanks,


--Vincent Ustach
  University of California, Davis

Attachment: freely_rotating_chains.tcl
Description: Tcl script

Attachment: config.log
Description: Text Data

Attachment: myconfig.hpp
Description: Text Data

Attachment: config.status
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]