Install Optsim
Install Optsim
Install Optsim
ph: 1.914.923.2164
fax: 1.914.923.2169
info@rsoftdesign.com
www.rsoftdesign.com
Copyright © 1993-2010
All Rights Reserved.
REVISON A
Contents
Preface 1
System Requirements ................................................................................................................ 1
Notices ....................................................................................................................................... 1
System Requirements
Most RSoft products have 32- and 64-bit versions for both Windows and Linux systems. Please check the 'System
Requirements' section of the relevant product on RSoft's website (www.rsoftdesign.com) for a list of the specific OS
versions we currently support.
Note that once a product has been successfully installed, it may not function correctly after changes such as OS updates
or other software/hardware modifications are made to the computer system. In such cases, RSoft will attempt to resolve
any issues for customers that have a current annual maintenance contract with RSoft, but does not guarantee success.
Notices
This section has a list of legal and other miscellaneous information pertaining to the software.
Limited Warranty
RSoft Design Group, Inc. warrants that under normal use, the physical media (diskette and documentation) will be free
of material defects for a period of thirty days from the date of purchase. Upon written notice, RSoft Design Group, Inc.
will replace any defective media. No other warranty of any sort, either expressed or implied, is provided with this
software. No liability for damage to equipment or data, or any other liability, is assumed by RSoft Design Group, Inc.
Copyright Notice
Copyright © 1990-2010 RSoft Design Group, Inc. All Rights Reserved. Copyright is claimed for both this manual and
the software described in it.
Acknowledgments
IBM is a registered trademark and IBM PC, PS/2, and OS/2 are trademarks of International Business Machines
Corporation. Intel is a trademark of Intel Corporation. Microsoft and MS-DOS are registered trademarks and Windows
This chapter describes the general installation procedure for all RSoft packages on a Windows computer system. These
packages include RSoft’s Passive Device Suite (RSoft CAD, BeamPROP, FullWAVE, BandSOLVE, GratingMOD,
DiffractMOD, FemSIM, ModePROP, LaserMOD, and/or MOST) and RSoft’s System Design Suite (OptSim, and/or
ModeSYS). Note that these suites include multiple products and options, not all of which will function unless
appropriately licensed. Please consult the appropriate product manual for any additional instructions.
Before installing, have the following accessible before continuing with the installation:
Installation Executable
RSoft’s Passive Device Suite, Active Device Suite, and System Design Suite all have separate setup programs and
can be found on the installation CD or downloaded from RSoft’s support page (www.rsoftdesign.com/support). The
installation procedure should be repeated for all the suites to be installed.
USB Hardlock Key(s)
A hardlock key(s) is included in the software package, and has a serial number such as 16845678.
License File
A license file(s) that corresponds to the serial number(s) of the hardlock key(s) and to the version of the suite you
are installing. RSoft will email this file to the user on record. If you have not received a license file, contact RSoft
with your name, organization, and serial number(s) at license@rsoftdesign.com.
1. To start the installation process, run the executable file for the setup program (usually setup.exe). The installation
program will indicate which package you are installing. Click Next to continue.
2. Read through and agree to the License Agreement and click Next to continue.
3. Enter your User Name and Organization and click Next to continue.
These manual procedures are usually performed by the automatic installation routine, and should only be performed if
needed.
This chapter describes the general installation procedure for all RSoft packages on a Linux computer system. These
packages include RSoft’s Passive Device Suite (RSoft CAD, BeamPROP, FullWAVE, BandSOLVE, GratingMOD,
DiffractMOD, FemSIM, ModePROP, and/or MOST). RSoft’s System Design Suite (OptSim, and/or ModeSYS) uses a
different installation routine that is documented separately. Note that these suites include multiple products and options,
not all of which will function unless appropriately licensed. Please consult the appropriate product manual for any
additional instructions.
Before installing, have the following accessible before continuing with the installation:
Installation Distribution
RSoft’s Passive Device Suite, Active Device Suite, and System Design Suite all have separate setup programs.
These can be obtained from either the installation CD included with the software package or downloaded from
RSoft’s support page (www.rsoftdesign.com/support). The installation procedure should be repeated for all the
suites to be installed.
USB Hardlock Key(s)
A hardlock key(s) is included in the software package, and has a serial number such as 16845678.
License File
A license file(s) that corresponds to the serial number(s) of the hardlock key(s) and to the version of the suite you
are installing. RSoft will email this file to the user on record. If you have not received a license file, contact RSoft
with your name, organization, and serial number(s) at license@rsoftdesign.com.
The openmotif package must be installed. If you do not have this package installed, please contact your system
administrator for help with the installation.
For Linux distribution-specific instructions please refer to the file /readme/readmelinux.txt located in the
software distribution.
where <taz file> is the actual name of the file. This will install the software files in the directory
/usr/local/rsoft.
15. Add the executable directory /usr/local/rsoft/bin to your PATH by editing your login file. See Section 2.E.1
for details.
16. Next, determine whether you have purchased a Nodelocked or Network/Floating license before proceeding. A
Nodelocked license is a standalone single copy of the software that will be used on one computer only. A
Network/Floating license allows copies of the software to be used across a network. The software must be installed
on each computer that the software will be used on, including the network key server where the hardlock key will
sit. If you are unsure about the type of license you have, follow the Nodelocked instructions.
17. For NodeLocked licenses and the network key server, issue the command
./usr/local/rsoft/hardlock/hldinst_usb
to start the hardlock key module. In order to always load the module when the computer starts, this command
should be appended to your distribution’s startup script. See Section 2.E.1 for details.
18. The RSoft License Daemon is required for Network/Floating licensing schemes or Nodelocked licenses with more
than 2 CPUs. To start this daemon, issue the command
/usr/local/rsoft/bin/rslmd &
In order that the daemon always run, append this command to your distribution’s startup script. See Section 2.E.1
for details.
In your shell login file (see Section 2.E.1), define the variable RSLM_SERVER to the IP address of the network key
server. Also, all firewalls must be configured to allow the licensing daemon (rslmd) to communicate via TCP on
port 8988.
19. Copy the license file in binary form to the /usr/local/rsoft/licenses directory. All user accounts that use
the software must have read access to the file, so set the permissions appropriately.
20. If installing a Nodelocked license or on the network key server, attach the USB hardlock key.
21. Open the software via the command xbcad. If the software successfully starts, the main installation is completed.
If not, see Section 2.E for troubleshooting help. In addition, use of clustering requires additional manual setup as
described in Chapter 3. Also, when using the tool(s), additional libraries might be needed at which point the
software will inform you. See Section 2.E.2 for details on libraries.
Changes must be made for each user that will access the software. These instructions assume that the bash shell is used.
Users of different shell types must make these settings in the appropriate corresponding files.
Startup Script
Users must add the hardlock key driver and RSoft License Daemon (if needed) to a suitable startup script such as
/etc/rc.d/rc.local. If using this specific script, the hardlock key drivers can be automatically added using the
script setup_usb. If using the RSoft License Daemon, make sure the command to start the daemon comes after the
call for the hardlock key driver.
This chapter describes the configuration of a cluster for both Windows and Linux systems. Clustering allows
simulations to employ multiple CPUs that can be on a single computer, distributed over a network, or both utilizing the
message passing interface (MPI). RSoft supports a customized version of the MPICH2 implementation of MPI from
Argonne National Lab (Copyright 2002 Argonne National Lab). The complete distribution and further information
regarding MPICH2 can be found at www.mcs.anl.gov/mpi/mpich2/.
Windows Clusters
To ensure network connectivity under Windows, perform these steps:
Configuring any Firewall(s)
Any firewalls installed on the network must be configured to allow MPICH2 traffic to pass through it.
Running mpiexec
MPICH2 requires the username and password of a user account that can remotely access and start simulation jobs on
all computers in the cluster. The account should be created on each node if using a Windows workgroup, or created
on the domain controller if using a Windows domain.
To enable access, issue this command on the master node:
mpiexec –register
Enter the username and password to be used. Accounts with the name ‘administrator’ or blank passwords will not
work. To check that the user does indeed have remote access, issue the command
mpiexec –validate –host cluster_node
where cluster_node is the name of a specific node computer. Repeat this test for all nodes in the cluster.
Creating a shared workspace
The working directory where simulation files are stored must be accessible via the same path by all nodes in the
cluster. There are two basic ways to do this:
1) Open design files via their UNC path on the master node. For example, if design files are located in the directory
c:\tmp on a computer named master_node, and this directory is shared on the network as cluster_sims, open
the file from the location //master_node/cluster_sims.
2) Create a shared drive to the shared directory where the design files are located. For example, if the local drive
c:\tmp on the master node is shared on the network and mapped as z: on all the nodes, open the file from the
mapped drive (z:) on the master node.
In both scenarios, each node will be able to access the design files using the same path, and assumes that all nodes
have read and write access to the shared directory.
Linux Clusters
To ensure network connectivity under Linux, perform these steps:
Configuring any Firewall(s)
This will allow you to ssh from one node to another without a password. Test this by using this command twice
from the master node:
ssh cluster_node_name
The first time you try each node, you will get a question about the authenticity of the host: type yes to continue.
After that, you will not be asked again. This should be repeated for each cluster node.
Note that if all processes will be run on the local host, ssh is not needed to start jobs. To disable the use of ssh for
this case, set the variable P4_RSHCOMMAND=rshlocal.
Creating a shared workspace
The working directory where simulation files are stored and run must be a shared directory that is accessible to all
machines. This is most easily done by accessing all design files and running all simulations with UNC paths.
Environment Variables
In order for remote shells created by ssh to function correctly, they require any variables to be defined locally to be
set in the new shell. Since ssh only uses standard shell initialization files (~/.cshrc or ~/.bashrc), make sure
that any environment variables used for RSoft software or MPICH are defined in these files and not login files. See
Section 2.E.1 for related information.
X11 forwarding
For FullWAVE simulation windows to appear on the master node, you must enable X11 forwarding in the ssh
configuration file (ssh_config) which is normally located in /etc/ssh/.
Older RedHat version compatibility
If running RedHat 7.3 or earlier, the RSPROC_METHOD=1 variable must be set.
FullWAVE Clustering
First, each node will be tested separately, and then tested as a group.
MOST Clusters
Instructions for testing a MOST cluster can be found in the MOST manual.
Should you choose to uninstall the RSoft software, please follow these instructions.
Users who are upgrading from a version prior to RSoft CAD 5.0g, OptSIM 4.0, and LaserMOD 2.0 will need to remove
the version from their machines as described below.
Windows:
To uninstall the package under Windows, use the Add/Remove Programs option in the Control Panel. Note that you
must be logged in as administrator to perform this task.
Linux:
To uninstall the package under Linux, simply delete the installation directory. Additionally, you will have to remove any
commands from your startup scripts related to the package.
These versions use an old directory structure. The current version includes, among other things, a new installation
procedure, directory structure, and device drivers that are sufficiently different from prior versions that it is required that
Windows:
Remove the old hardware key driver by going to a command prompt (under Start/Programs/Accessories), changing
to the old installation directory using the "cd" command, and typing "hldinst -remove" or "hlinst -d". If you
are running a network key server, you should first stop and remove the server by typing "hls32svc -remove".
Remove any environment variables for RSoft products that you may have set (e.g. RSOFT_LICENSEPATH,
HLS_IPADDR). Environment variables, including the PATH, are found by going to the Control Panel, choosing
System, selecting the Advanced tab, and clicking on Environment Variables.
Remove all PATH settings for both the System PATH and any user PATH's that refer to the old installation
directory.
Linux:
Remove any lines in rc.local or other startup scripts that started the hardware key driver, and reboot the
computer.
Remove any environment variables for RSoft products that you may have set (e.g. RSOFT_LICENSEPATH,
HLS_IPADDR).
You do not need to adjust any PATH settings at this point. Note that links in /usr/local/bin will be broken after
renaming the old installation directory. During installation, you will be asked to run a script to remove them.