-
-
November 9, 2023 at 1:35 pm
Jordi Lopez Leyva
SubscriberI ran a 3D FDTD simulation in Lumerical on HPC Linux. This simulation seems to work fine, giving all the results I want. However, in the shell window, I get told "unexpected end of file". What is this error, how can I solve this and do I need to solve this?
6.64173% complete. Elapsed simulation time: 6.64173e-15 secs. Max time remaining: 8 secs. Auto Shutoff: 1
15.4974% complete. Elapsed simulation time: 1.54974e-14 secs. Max time remaining: 7 secs. Auto Shutoff: 1
33.2087% complete. Elapsed simulation time: 3.32087e-14 secs. Max time remaining: 6 secs. Auto Shutoff: 1
50.9199% complete. Elapsed simulation time: 5.09199e-14 secs. Max time remaining: 4 secs. Auto Shutoff: 1
68.6312% complete. Elapsed simulation time: 6.86312e-14 secs. Max time remaining: 3 secs. Auto Shutoff: 1
86.3425% complete. Elapsed simulation time: 8.63425e-14 secs. Max time remaining: 1 secs. Auto Shutoff: 0.311047
100% complete. Elapsed simulation time: 1.00041e-13 secs. Max time remaining: 0 secs. Auto Shutoff: 0.264385
sh: switchml: line 1: syntax error: unexpected end of file
sh: error importing function definition for `BASH_FUNC_switchml'
sh: _module_raw: line 2: syntax error: unexpected end of file
sh: error importing function definition for `BASH_FUNC__module_raw'
sh: switchml: line 1: syntax error: unexpected end of file
sh: error importing function definition for `BASH_FUNC_switchml'
sh: _module_raw: line 2: syntax error: unexpected end of file
sh: error importing function definition for `BASH_FUNC__module_raw'
sh: switchml: line 1: syntax error: unexpected end of file
sh: error importing function definition for `BASH_FUNC_switchml'
sh: _module_raw: line 2: syntax error: unexpected end of file
sh: error importing function definition for `BASH_FUNC__module_raw'
sh: switchml: line 1: syntax error: unexpected end of file
sh: error importing function definition for `BASH_FUNC_switchml'
sh: _module_raw: line 2: syntax error: unexpected end of file
sh: error importing function definition for `BASH_FUNC__module_raw'
sh: switchml: line 1: syntax error: unexpected end of file
sh: error importing function definition for `BASH_FUNC_switchml'
sh: _module_raw: line 2: syntax error: unexpected end of file
sh: error importing function definition for `BASH_FUNC__module_raw'
sh: switchml: line 1: syntax error: unexpected end of file
sh: error importing function definition for `BASH_FUNC_switchml'
sh: _module_raw: line 2: syntax error: unexpected end of file
sh: error importing function definition for `BASH_FUNC__module_raw' -
November 14, 2023 at 8:18 pm
Lito Yap
Ansys Employee@Jordi Lopez Leyva,
Sorry to hear that you are having issues running FDTD on your cluster. To troubleshoot, please assist us with the following:
- Which Linux distro and version are you running on?
- Which version of Ansys Lumerical are you using?
- Do you run/submit to a job scheduler using a script?
- Does the simulation run successfully?
You can check the "simulationfilename_p0.log" file if the simulation is completed. - Can you open the simulation on your local desktop to view the results?
- Are you using the bundled MPICH2 to run the simulation?
- Please send the sample execution line you used to run the simulation on the cluster.
e.g. /opt/lumerical/v232/mpich2/nemesis/bin/mpiexec -n 32 /opt/lumerical/v232/bin/fdtd-engine-mpich2nem -t 1 simulationfile.fsp
Thanks!
-
November 15, 2023 at 10:10 am
Jordi Lopez Leyva
Subscriber- Which Linux distro and version are you running on?
- CentOS Linux release 7.9.2009 (Core)
- Which version of Ansys Lumerical are you using?
- Ansys Lumerical 2023 R1.1
- Do you run/submit to a job scheduler using a script?
- No script, just command
- Does the simulation run successfully?
You can check the “simulationfilename_p0.log” file if the simulation is completed.- Simulation did complete succesfully
- Can you open the simulation on your local desktop to view the results?
- Yes
- Are you using the bundled MPICH2 to run the simulation?
- I’m indeed using the bundled MPICH2 from the Lumerical installation
- Please send the sample execution line you used to run the simulation on the cluster.
- /cm/shared/apps/lumerical/2023-R1.1/mpich2/nemesis/bin/mpiexec -n 4 -host tue-login002 -env HOME /home/”MyPath”/Lumerical/test /cm/shared/apps/lumerical/2023-R1.1/bin/fdtd-engine-mpich2nem -t 1 /home/”MyPath”/Lumerical/test/Nanobeam.fsp
- Which Linux distro and version are you running on?
-
November 15, 2023 at 8:18 pm
Lito Yap
Ansys Employee@Jordi Lopez Leyva,
From the command you provided,
/.../mpiexec -n 4 -host tue-login002 -env HOME /.../test /.../fdtd-engine-mpich2nem -t 1 /.../Nanobeam.fsp
Are you running the simulation remotely from a Linux machine to another Linux machine, 'tue-login002' ?
Are you able to log in to the Linux machine, 'tue-login002', and run it directly from there (not remotely)?
i.e.
/cm/shared/apps/lumerical/2023-R1.1/mpich2/nemesis/bin/mpiexec -n 4 /cm/shared/apps/lumerical/2023-R1.1/bin/fdtd-engine-mpich2nem -t 1 /home/”MyPath”/Lumerical/test/Nanobeam.fspOtherwise, try the command below, without the '-env HOME' options for the MPI. Let me know if the issue persists even though the simulation ran successfully.
/cm/shared/apps/lumerical/2023-R1.1/mpich2/nemesis/bin/mpiexec -n 4 -host tue-login002 /cm/shared/apps/lumerical/2023-R1.1/bin/fdtd-engine-mpich2nem -t 1 /home/”MyPath”/Lumerical/test/Nanobeam.fsp
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth 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.
- Licensing – Request name does not exist in the licensing pool
- 2022 R1 Ansys Mechanical APDL: QXcbConnection: Failed to initialize XRandr
- error “ansyslmd: Cannot connect to license server system. (-15,10032)
- The analysis systems in Workbench are missing
- Student license renewal
- Mechanical APDL Launcher Options
- how to open files created from newer version by using the older version of ansys
- Problems using 2022/R2
- Ansys Helic Tools Installation Issue: Missing Helic_PDK directory
- Results Probe in ANSYS Workbench
-
8808
-
4658
-
3153
-
1680
-
1470
© 2023 Copyright ANSYS, Inc. All rights reserved.