I am trying to run an OPL file (CPLEX) from a script in an HPC.
Without the bash file, if go to the directory:
/home/mydir/opl/bin/x86-64_linux/
and execute
./oplrun "/home/mydir/filedir/file.mod" "/home/mydir/filedir/datafile.dat"
my code is executed with no problem.
However, If I try and run the following file MyCPLEX.sh from the same directory
#!/bin/bash
#$ -l rmem=48G
#$ -l mem=48G
#$ -cwd
./oplrun "/home/mydir/filedir/file.mod" "/home/mydir/filedir/datafile.dat"
I get the message:
./oplrun: error while loading shared libraries: libicuuc.so.55: cannot open shared object file: No such file or directory
I have tried different versions of the sh file, but nothing seems to work.
Any help will be appreciated,
Diego
#DecisionOptimization#Support#SupportMigration