New question #681799 on Yade:
https://answers.launchpad.net/yade/+question/681799

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
###echo $CUDA_VISIBLE_DEVICES
###GPUNUM=`echo $CUDA_VISIBLE_DEVICES`

#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.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to