Bash file to launch a RADIOSS Computation using the user library file (labraduser_linux64.so)

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hi everybody,

 

I'm new in Linux and computation on cluster. I have problem with the bash file when I want to use the user library file in a RADIOSS calculation.

I work with the RADIOSS user's code interface that permit me to program our material behavior using fortran code. After that, an user library file (labraduser_linux64.so) is received by compiling the code file.

This user library file was worked well in a single machine with the instruction:


Example: (bash): libraduser_linux64.so is in /work/my_user_library

export LD_LIBRARY_PATH=/work/my_user_library:$LD_LIBRARY_PATH
$ALTAIR_HOME/hwsolvers/radioss/bin/linux64/s_13.0_linux64
-i MY_USER_DATASET_0000.rad
$ALTAIR_HOME/hwsolvers/radioss/bin/linux64/e_13.0_linux64
-i MY_USER_DATASET_0001.rad

Now I need use this file to run a RADIOSS computation on x86-64 Linux Cluster using Intel MPI. I try to add these codes in my bach file on cluster, but RADIOSS cannot  load the file libraduser_linux64.so.

Here is the code to run a simulation on the cluster:


export ALTAIR_LICENSE_PATH=6200@calcul-hpc.univ-lille1.fr
export ALTAIR_HOME=/share/apps/codes/altair/13.0/altair
export RADFLEX_PATH=$ALTAIR_HOME/hwsolvers/common/bin/linux64
export LD_LIBRARY_PATH=$PBS_O_WORKDIR:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$RADFLEX_PATH:$LD_LIBRARY_PATH
export HYDRA_LAUNCHER=pbs
export HYDRA_RMK=pbs
$ALTAIR_HOME/hwsolvers/radioss/bin/linux64/s_13.0_linux64 -i $INPUT_FILE1 -nt 1 -np $NTOT /share/apps/library/intel/cluster_studio_2013.1.04/hydra-3.1.2/bin/mpiexec -rmk pbs -launcher pbs -n $NTOT $ALTAIR_HOME/hwsolvers/radioss/bin/linux64/e_13.0_linux64_impi -i $INPUT_FILE2 -nt 1
 

Anybody can help me to correct the bash file?

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2015

    Put your libraduser_linux64.so into a shared folder of cluster. By this way, any compute node see it. Then add the PATH into LD_LIBRARY_PATH.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2015

    Thanks sir for your response. The problem is solved.

     

    We can put the libraduser_linux64.so into the share folder of cluster or we can redefind the LD_LIBRARY_PATH by add the path of libraduser_linux64.so file:

    export LD_LIBRARY_PATH=$RADFLEX_PATH:$libraduser_FILE_PATH:$LD_LIBRARY_PATH