← Back to team overview

yade-users team mailing list archive

[Question #681799]: How to run Yade simulation using HPC when GPU command line does not work?


New question #681799 on Yade:

Hi all,

I'm currently trying to run Yade simulation in HPC, to test whether this can reduce down the time taken for my Yade  simulation run using normal PC.  I had seek the help from the administrator of HPC to install Yade onto it, he managed to help me do  that, but he said the the GPU command line does not work for the Yade in HPC, so the computational capacity of this Yade in HPC is still about the same as normal PC.

After that, the administrator of the HPC sent another email to me, ask me to add something into my Yade script to enable usage of allocated GPU.  The email is as follow:


Here is the actual yadeLauncher.sh . You will need to use the allocated GPU with yade . In the example below, it will have to be put inside DST_parametric_M1c_Layer1.py. As I am not a yade expert, I cannot tell you how this can be done.

cat yadeLauncher.sh

#! /bin/bash

#load the anaconda tensorflow environment
module load anaconda/5.3.1py3
source activate tensorflow-gpu

#navigate to Your directory
##cd /export/home/s123456/pbs/singularity/yade/

#run the code
yade /export/home/s123456/pbs/singularity/yade/DST_parametric_M1c_Layer1.py


I would like to ask for some help and advice on how to add the things as advised by the administrator of HPC to enable GPU usage for Yade in HPC?

Do I just copy and paste those lines from the HPC administrator into my Yade script?

I really appreciate to get some response on this issue of mine.

Thank you and Regards,
Nicholas Ng

You received this question notification because your team yade-users is
an answer contact for Yade.