Gencase_linux64 not found, does anyone have any idea why ?
Hello, I m new on DualSPHYsics and also on linux.
I have one question I got this when I try to launch the file I have created.
test-pre-processing-1er_linux64_GPU.sh: 38: test-pre-processing-1er_linux64_GPU.sh: ../../EXECS/Gencase_linux64: not found
Execution aborted
But when I start a program for Run_Directory everything works fine, I have no problem whit Gencase_linux64.
I Have one question, how can I solve this problem ?
And I am sorry if I have a bad grammar or spelling.
Thanks you all.
I have one question I got this when I try to launch the file I have created.
test-pre-processing-1er_linux64_GPU.sh: 38: test-pre-processing-1er_linux64_GPU.sh: ../../EXECS/Gencase_linux64: not found
Execution aborted
But when I start a program for Run_Directory everything works fine, I have no problem whit Gencase_linux64.
I Have one question, how can I solve this problem ?
And I am sorry if I have a bad grammar or spelling.
Thanks you all.
Comments
-test-pre-processing-1er.xml
-test-pre-processing-1er_linux64_GPU.sh
and a file called test-pre-processing-1er_out appearred
This is my GPU file :
#!/bin/bash
# "name" and "dirout" are named according to the testcase
name=test-pre-processing-1er
dirout=${name}_out
# "executables" are renamed and called from their directory
dualsphysics="../../EXECS/DualSPHysics_linux64"
gencase="../../EXECS/Gencase_linux64"
boundaryvtk="../../EXECS/BoundaryVTK_linux64"
partvtk="../../EXECS/PartVTK_linux64"
isosurface="../../EXECS/Isosurface_linux64"
# Library path must be indicated properly
current=$(pwd)
cd ../../EXECS
path_so=$(pwd)
cd $current
export LD_LIBRARY_PATH=$path_so
# "dirout" is created to store results or it is cleaned if it already exists
if [ -e $dirout ]; then
rm -f -r $dirout
fi
mkdir $dirout
# CODES are executed according the selected parameters of execution in this tescase
errcode=0
if [ $errcode -eq 0 ]; then
$gencase ${name}_Def $dirout/$name -save:all
errcode=$?
fi
if [ $errcode -eq 0 ]; then
$dualsphysics $dirout/$name $dirout -svres -gpu
errcode=$?
fi
if [ $errcode -eq 0 ]; then
$boundaryvtk -loadvtk $dirout/${name}__Actual.vtk -filexml $dirout/${name}.xml -motiondatatime $dirout -savevtkdata $dirout/MotionFloating
fi
if [ $errcode -eq 0 ]; then
$partvtk -dirin $dirout -savevtk $dirout/PartFluid -onlytype:-all,+fluid
errcode=$?
fi
if [ $errcode -eq 0 ]; then
$isosurface -dirin $dirout -saveiso $dirout/Surface -onlytype:-all,+fluid
errcode=$?
fi
if [ $errcode -eq 0 ]; then
echo All done
else
echo Execution aborted
fi
read -n1 -r -p "Press any key to continue..." key
echo
also I copy and paste the EXECS file in RUN_DIRECTORY to be sure.