Photonics

Photonics

Topics related to Lumerical and more

Running Lumerical FDTD files on a Campus cluster using Sun Grid Engine (SGE)

TAGGED: 

    • katsuya2
      Bbp_participant

      I want to use the Campus cluster (Sun Grid Engine) to run FDTD files. 
      https://answers.uillinois.edu/scs/page.php?id=104365

      I followed the following instructions to install Lumerical (2024-R1.3) in my cluster folder.
      https://optics.ansys.com/hc/en-us/articles/360035201613-Configuring-your-cluster-for-Ansys-Lumerical

      Next, based on another article (https://optics.ansys.com/hc/en-us/articles/360039028654-Job-scheduler-submission-scripts-SGE-Slurm-Torque), I created the following shell script as "fdtd_test.sh". 

      ---

      #!/bin/csh
      #$ -N fdtd_test
      #$ -cwd
      #$ -o run.out
      #$ -e run.err
      #$ -q intel24
      #$ -pe orte 4


      module load mpi/openmpi-x86_64

      echo "Running on nodes:"
      cat $PE_HOSTFILE

      /home/katsuya2/tools/lumerical/v241/bin/fdtd-mpi-status.sh
      /home/katsuya2/tools/lumerical/v241/bin/fdtd-run-pbs.sh

      ls -l /home/katsuya2/tools/lumerical/v241/bin/fdtd-engine-ompi-lcl
      ls -l rod_ctab_1.fsp

      export PATH=/home/katsuya2/tools/lumerical/v241/bin:$PATH
      export LD_LIBRARY_PATH=/home/katsuya2/tools/lumerical/v241/lib:$LD_LIBRARY_PATHulimit -c unlimited

      mpirun /home/katsuya2/tools/lumerical/v241/bin/fdtd-engine-ompi-lcl -logall -fullinfo rod_ctab_1.fsp

      --- 

      However, it didn't work and I got the error
      saying "TERM environment variable not set.
      /home/katsuya2/tools/lumerical/v241/bin/fdtd-engine-ompi-lcl: error while loading shared libraries: libmpi.so.40: cannot open shared object file: No such file or directory
      /home/katsuya2/tools/lumerical/v241/bin/fdtd-engine-ompi-lcl: error while loading shared libraries: libmpi.so.40: cannot open shared object file: No such file or directory
      "
      This looks like I'm missing libmpi.so.40, but I'm not sure how I can install this. 
      Could you give me some advice to run this file on the cluster? 

Viewing 0 reply threads
  • You must be logged in to reply to this topic.