Tagged: hpc-cluster, Lumerical-FDTD
-
-
March 8, 2022 at 11:22 am
pierre-luc.piveteau
SubscriberHello,
I'm running Lumerical FDTD on my university on-premise cluster. On this cluster, jobs are submitted to Slurm via a batch script.
How can I run multiple simulations at the same time (in the limit of our license capabilities, of course) ?
I did some tests, but with the following line, it appears that only the last simulation (simulation_3.fsp) was submitted - regardless of the number of cores, nodes, or tasks involved.
March 9, 2022 at 8:18 pmLito Yap
Ansys EmployeePlease consult with your IT/cluster admin on a submission script for your job scheduler to submit a job to run all the simulation.fsp files on your specific "folder" in your cluster. Otherwise, you can run the simulation files on a specific folder in sequence on your cluster using the "fdtd-run-local.sh" script bundled with our installation. See this post for details.
March 11, 2022 at 7:21 pmLito Yap
Ansys EmployeeTry this sample script:
#SBATCH --job-name=lumtest#Job name
#SBATCH --nodes=3 #3 nodes
#SBATCH --ntasks=48#48 total processes/tasks
#SBATCH --cpus-per-task=1#1 cpu/core per task
#SBATCH --mem=64gb#64gb memory
#SBATCH --time=01:00:00#1 hr wall time (h:m:s)
#change directory to the location of your simulation files
cd /path_to/simulationfiles
#load your MPI and Lumerical modules
#module load intelmpi lumericalv221
#run FDTD simulation with intel mpi
srun -n 16 fdtd-engine-impi-lcl -t 1 simulationfile1.fsp&
srun -n 16 fdtd-engine-impi-lcl -t 1 simulationfile2.fsp&
srun -n 16 fdtd-engine-impi-lcl -t 1 simulationfile3.fsp&
wait
March 16, 2022 at 7:28 pmpierre-luc.piveteau
SubscriberDear Thank you for your quick and detailed answer ! It's working well, using your sample script.
I specified explicitly the RAM reservation for each srun, otherwise the whole node RAM was taken by the first job : e.g :
srun -n 16 --mem =20G fdtd-engine-impi-lcl -t 1 simulationfile1.fsp &
Thanks again !
March 16, 2022 at 7:40 pmLito Yap
Ansys EmployeeYou are welcome. Yes, you can modify the sample script as needed. i.e. nodes, tasks, time, jobname, etc.Viewing 4 reply threads- You must be logged in to reply to this topic.
Ansys Innovation SpaceEarth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
Trending discussions- “Import optical generation” or “delta generation rate”?
- Why am I getting “process exited without calling finalize”, and how do I fix it?
- Error on Lumerical device
- Using a license file on a new license server
- Error: addfdtd is not a valid function or a variable name
- Ansys Insight: Diverging Simulations
- Ansys Insight: Transmission results greater than one
- Ansys Insight: About override mesh in FDTD: its use and settings
- Ansys Insight: Convergence issues in CHARGE
- Is there a Lumerical script command to output the Simulation and Memory requirements?
Top Contributors-
2612
-
2088
-
1321
-
1108
-
459
Top Rated Tags© 2023 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-