Documente Academic
Documente Profesional
Documente Cultură
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Enhancements and New Features . . . . . . . . . . . . . . . . . . . 15
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
LAM License Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Setting the Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Appendices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Introduction
Whats New . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
VIP Unix/Linux Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
System Requirements
Sun Solaris Operating Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Tested Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Parallel Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Additional Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Additional Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
IBM AIX Operating Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Tested Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Parallel Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Additional Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Additional Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
SGI IRIX Operating Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Tested Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Unique Parallel Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Linux Operating System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Tested Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Unique Parallel Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Known Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
VIP Convert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
VIP Data Studio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
VDS-CORE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
VDS-EXEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Known Issue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Grid Calculator (GridCalc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Known Issue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Region Calculator (RegCalc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
E2V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
GridGenr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Installation
VIP Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Whats New
DESKTOP-VIP R2003.4 provides a graphical user interface that is certified on
Windows 2000 Service Pack 1 and 2. It has also been tested on Windows XP
Professional, with no problems detected. VIP simulators are certified on
Windows 2000 SP1 and 2, as well as Solaris 8, IRIX 6.5.11m, and AIX 4.3.3,
and Linux Red Hat 7.2. VIP simulators have also been tested on Windows XP
Professional with no problems detected.
SimResults+ (license required) also lets you create RTF plots, allows for
batch plotting, and provides a seamless interchange between Eclipse and VIP
data and .grf templates.
VIP Convert. This powerful conversion application now lets you export and
import Rescue geocellular model data.
RegCalc (Region Calculator). This new application lets you quickly obtain
pressure, saturation, and fluids in place at any timestep for both your
IREGIONS and any arbitrary I,J,K area (not defined as an IREGION).
All new and enhanced functionality is described in the Enhancements and New
Features section of this document.
The amount of memory and swap space necessary to run VIP is dependent on the
size of the model. However it is recommended that you have at least the following
minimum configuration. This allows a model with approximately 100,000 grid
blocks to be run.
Tested Environment
VIP R2003.4 was tested on Solaris 8 (SunOS Release distributed October 10, 2000).
Parallel Requirements
Parallel-VIP was tested on Solaris 8 running on shared memory Solaris
workstations. For additional information on parallel computing requirements,
refer to Appendix A.
The Message Passing Interface (MPI) Version 1.1.0 is required and is supplied on
the VIP installation media.
Shared memory Solaris workstation with two or more CPUs in a single machine.
It is recommended that sufficient disk space is added to provide adequate swap,
tmp, and storage space. The executables for Paralled-VIP to run in a distributed
cluster across two or more separate Solaris machines are not provided.
Tested Environment
VIP R2003.4 was tested on AIX 4.3.3.
Parallel Requirements
SP platforms running IBMs Parallel Operating Environment. A distributed
version, running MPI, is not available. For additional information on parallel
computing requirements refer to Appendix A.
Tested Environment
VIP R2003.4 was tested under IRIX 6.5.11m.
Software Requirements
The Message Passing Interface (MPI) Version 1.1.0 is required and is supplied on
the VIP installation media.
Hardware Requirements
Shared memory SGI workstation with two or more CPUs in a single machine. It is
recommended that sufficient disk is added to provide adequate swap, tmp, and
storage space. The executables for Paralled-VIP to run in a distributed cluster
across two or more separate Solaris machines are not provided.
Tested Environment
VIP R2003.4 was tested under Linux Red Hat Version 7.2.
Software Requirements
The Message Passing Interface (MPI) Version 1.1.0 is required and is supplied on
the VIP installation media.
Hardware Requirements
Version R2003.4
This release of DESKTOP-VIP provides the following new and modified
features for both the Unix/Linux and Windows versions.
VIP-Executive
The following notes describe features which were added or modified in VIP-
EXECUTIVE. Some of these features offer new capabilities and others offer
better efficiency. Features that are pertinent only to VIP-CORE or VIP-EXEC
are listed separately.
General
1. Change bars specific to version R2003.4 have been retained in the CORE and
EXEC user manuals to aid the user in quickly locating new/modified
information.
2. Note: VDB and map files have always been required to have ROOT as the
root grid name. If the root grid is renamed in VIP-CORE (LGR ROOTGRID
option), all input data is required to use this name and output files will reflect
this name, but applications such as 3DView that read from the VDB will show
the root grid as ROOT.
New Features
Modify script for VIPHOME. Using your text editor (such as Notepad or
vi), open the script file (rstconv.bat on Windows or rstconv.ksh on Unix/
Linux) located in your VIP directory path /vip/dtvip/cvrst. On the following
line, edit the file to point to your VIPHOME location.
set VIPHOME=net/machinename/vip
Run the conversion. In the case file directory, type the following at the
command line prompt:
You need only specify the base restart file name (filenamei.rst) for a CORE
run and base output restart file name (filenamer.rst) for an EXEC run. The
script will then read and convert multiple restart files: filenamei.rst,
filenamei.rst0, filenamei.rst1, ... , where a numbered file is expected for each
grid.
2. Control of gas re-solution rate: In conjunction with the new extended form
of the black-oil PVT tables (BOETAB, etc.), a new DRSDT variable has been
added which enables the user to limit the rate of increase of the solution gas-
oil ratio, Rs.
4. Water properties variation with salinity: Allows the user to specify the
variation in water properties as a function of salinity for any water PVT
region, enabling more precise modelling of fresh water injection. The salinity
of the injected water can be specified for each water injection well.
VIP-CORE
2. Limits removed for the reference depth for the initial pressure in an
equilibrium region which has an active gas-oil contact: The reference
depth for the initial pressure in an equilibrium region involving an active gas
cap is now allowed to be outside of the oil leg, since the phase pressure
profiles will be based on the saturation pressure at the GOC.
3. XREG values can be read for each gridblock. XREG data can also
be read using a value for each gridblock in the window. Previously,
only one value could be applied to the whole window.
Known Issue:
1. The CORE keyword VDB filename.vdb only works for local runs.
VIP-EXEC
4. IMPWEL now available with OPTMBL and Crossflow: The implicit well
option with the IMPES formulation can now be used in conjunction with both
OPTMBL and the wellbore crossflow options.
5. Threshold pressure option for fault flow: Enables the flow across a
specified fault to be blocked until the pressure potential exceeds the specified
threshold. When exceeded, the potential is reduced by the value of the
threshold, and flow is allowed based on the adjusted potential.
Modified Features
VIP-CORE
Fixed Problems
4. Multi level LGR or DECOMPOSE grids no longer have corrupted map files
that cannot be loaded into 3DView.
VIP-EXEC
2. Support simultaneous THP and BHP constraints for wells: The simulator
will now allow and utilize both THP and BHP constraints for a well
simultaneously, honoring the more restrictive of the two. Previous versions
would use only the last one entered, negating either of the two previously
entered.
3. Make-up gas rate and composition of injected gas: The actual required
rate of make-up gas to satisfy the gas reinjection requirement is now correctly
calculated and reported, as well as the correct injection gas composition
involving the produced gas plus required make-up gas.
4. Default for the automatic solver cutback changed to OFF: In the R2003.0
release, a new feature was introduced within the solver to attempt to
determine either very slow convergence or divergence, and terminate the
solution effort, with the idea being to save the excess CPU time of continuing
to maximum iterations and then cutting the timestep. After finding several
models in which this hurt the overall performance, the default is changed to
OFF, and the user must explicitly turn it on if deemed necessary.
Fixed Problem
VDB Database
The following notes describe features which were added or modified in the VDB
database.
Allows more simulation runs for a single study without hitting the 2GB
file size limit
The new VDB structure is described in detail in the Starting and Using
Desktop-VIP chapter of the Getting Started manual.
All DeskTop-VIP applications can easily handle both old and new style VDB
files. The command-line executable will also convert from the new to the old
format.
2. VDB control file provided: An XML control file has been provided in the
top-level directory of the new VDB allows users to easily see the list of cases
and parent-child relationships among them
3. Simultaneous VDB access: Multiple VIP simulation jobs can now access the
VDB simultaneously.
1. GUI redesign and new features: The DeskTop user interface has been re-
written in Java, eliminating all dependencies on Tk/Tcl. It now has a
Windows look-and-feel, with features including docking/floating toolbars,
mouse-over tooltips, etc.
3. Study/case comments can be added: The user now has the ability to add
study/case comments which can easily be viewed.
5. Improved network access. The network can be now accessed from the file
selection dialog box.
1. GUI redesign and new features: The VIP Job Submittal interface has been
totally redesigned, with the emphasis placed on ease-of-use, job queueing,
and remote job submittal.
2. Input, output, and include files shown:. The Job submittal panel now
displays all input files, output files, and include files associated with a given
VIP job.
3. Improved simulation messages: The feedback to the user while jobs are
executing has been improved.
4. More control over the run: Jobs can now be run as a background process
and multiple jobs can run simultaneously. The user can now choose which
simulator version to use for each run.
Known Issues
1. For remote runs using this release version, the directory that is one level
above the Study directory is reserved for remote copy procedures. Therefore,
no primary data files ( i.dat and r.dat ) or restart files ( i.rst and r.rst ) may exist
in the directory immedi-ately above the Study Directory. If they do, they will
be copied to the directory immediately above the remote working directory.
The simulator will not be able to find them during the remote run and the
simulation will fail
2. When specifying the location of include files, it is recommended that the user
always specify fully qualified paths. Relative paths will only work one level
higher (../) and one level lower (./); however there are situations where they
will not work at all.
3. The VDB option in CORE is not supported for remote jobs submitted from
Desktop-VIP, if the *.vdb file is to be automatically copied to the remote
machine. However, if the user manually copies the *.vdb file to the working
directory on the remote machine, the VDB option will function properly.
SimResults / SimResults+
A new Windows-based plotting package has been added to Desktop-VIP to
replace PlotView. (PlotView has been retained on the Desktop for this release.)
RFT plotting
Known Issues
1. If you have a new Windows 2000 machine, Microsoft Office must be installed
in order to run SimResults.
2. If you are a new user or have a new Windows 2000 machine, then the
message prompting for Office 2000 SR-1 disk is produced if SimResults (or
any application that has been compiled using Visual Studio) is run.
VIP Convert
The following notes describe features which were added or modified in the VIP
Convert conversion utility.
3. VDB viewing from the VIP Convert application: A new VDB View
panel has been added to allow the numerical data contained in a VDB study/
case to be viewed.
4. Improved status reporting. Status reporting to the user while VIP Convert is
processing files has been improved.
3. Color-coded icons: Icons have now been added to each data type in the
options tree. A green icon indicates that all required data has been entered. A
yellow icon indicates that no data has been entered but none is required. A
red icon indicates that mandatory data is missing.
VDS-CORE
A user interface has been added to create basic CORE initialization files. It lets
the user parse an existing initialization file and import tables from existing
datasets. It also provides a creation wizard to quickly generate the basic
requirements for an initialization file from scratch.
VDS-EXEC
New production data options available. The Production Data panel now
supports:
Class header definition for export to OBS format through the import wiz-
ard
Appending of imported pressure data after importing rates/volumes,
allowing different time frequency for pressure measurements
Generation of types and rate constraints from raw production data (no
averaging required)
New well perforations options available: The Well Perforations panel now
provides:
New well constraints options available: The user can now view all con-
straints for a well. The Well Constraints panel now supports the following
constraints:
New well hierarchy option available: Basic injection and production tar-
geting plus hierarchy ontime factors is now supported.
Known Issue
1. When launching 3DView from the VIP Data Studio perforation wizard, the
3DView main window sometimes locks due to an Exceed problem.
Workaround: close the DOS command window that comes up when
launching 3DView from the perforation wizard. (This will also close the
current 3DView without killing Exceed). Then relaunch 3DView from the
perforation wizard.
1. GUI redesign: The user interface has been redesigned with a Windows
look-and-feel.
4. Temporary variables can be created: The user can now create temporary
variables as building blocks for more complex permanent variables. The
temporary variables are deleted at the end of the session.
Known Issue
1. In GridCalc expressions, the program only recognizes VDB and Case names
that start with an alpha character. For example "name2" is a recognized VDB
or Case name in an expression, but "2name" is not. Workaround: if you
want to use a VDB or Case name that does not begin with an alpha character
in an expression, select it as the active Project and Case. Then create the
expression without specifying a Project or Case. When not specified, the
program assumes the current Project and Case by default.
1. GUI redesign: The user interface has been redesigned with a Windows
look-and-feel.
E2V
The following notes describe features which were added or modified the E2V
utility.
1. Extended black oil table data converted: Extended black oil table (e.g.
BOETAB) data is now converted to VIP format.
3. Observed file can now be created: An option has been added to create an
observed data file (*.obs) during the conversion process.
4. Eclipse BHP reference depth can be converted: The default BHP reference
depth (depth to top perforation) from Eclipse has been added as an option.
5. Well scheduling data can now be created: Well scheduling data can now be
created in a compressed format based upon user selection.
Known Issues
1. For Eclipse data sets containing non-monotonic PVT data, the converted data
set may report errors when run in VIP. In some cases, E2V slightly modifies
the data to cause monotonic behavior, but in other cases the data is not
adjusted.
2. The conversion of Eclipse gas and oil viscosity in the PVT tables cannot be
guaranteed. You should manually check and verify this data.
3. The conversion of MULTZ data in Eclipse to TMZ data in VIP may have
errors.
4. When Eclipse data has UTM coordinates, you must choose the right-handed
option in order to ensure the correct results. The left-handed option (default)
is not guaranteed to work correctly.
5. For VIP, the matrix and fracture systems must have the same equilibration
region specified by the IEQUIL array; there is no IEQUILF array. Eclipse
allows the matrix and fracture systems to have different equilibration region
specification for each grid block.
GridGenr
The GridGenr model size limitations were retested with the following results:
1. Grid points per zone. The maximum number of grid points per zone
increased from 60,000 to 300,000.
This install media contains the shell script setup and the necessary tools to
extract the application from CD and transcribe the application to disk.
For UNIX, the CDINSTALL packs the application in such a manner that the
application itself cannot be run from CD. It must first be transcribed to disk, then
invoked from disk. This is accomplished by running the Release Manager. For
Linux, an auto-mount is provided. Once the CD is inserted, you need only cd to
the directory /mnt/cdrom/install.
Please refer to the next chapter for procedures on mounting and managing the
license server.
VIP Installation
After inserting the VIP CD into your local CD drive, login in as root and change
directories to your CD drive. Change directories to the install directory and type
the following command:
./setup
|----------------------------------------------------|
| Landmark Graphics Corporation |
| Release Manager |
|----------------------------------------------------|
If you have OpenWorks, enter the full pathname to your OpenWorks 2003 home
directory. This pathname is used to determine where to locate the VIP installation.
For example, if your OpenWorks area is located under /usr/apps, the full
pathname should be entered as /usr/apps/OpenWorks.
If you do not have OpenWorks, similar rules apply, except that you supply a full
directory pathname the location on your file system where you want VIP
installed. For example, if the pathname you supply is /usr/apps, VIP is installed
in /usr/apps/vip.
Introduction
Landmarks license system (LAM) is based on Globetrotter Softwares
FLEXlm licensing server package.
Version Compatibility
Each Release of a Landmark application has a version of FLEXlm with
which it is certified.
The LAM 2003 Server software must be installed and new license files
must be obtained prior to attempting to run any Release 2003.4
applications. The detailed procedures to perform these tasks are
contained in the platform-specific chapters of this guide.
Procedures for each type of license set-up are described in the LAM
Guide. The Guide assumes that your license file is in the OpenWorks
environment. When reading these procedures, substitute your VIP path
(or wherever FLEXlm is installed) for the OpenWorks path.
Introduction
This chapter describes LAM on Linux and UNIX platforms and
contains the following major topics:
Operating System
AIX 4.3.3, IRIX 6.5.11m, Red Hat Linux 7.2, Solaris 2.8.
Hardware Requirements
The memory, disk storage, and bandwidth needed for the License
Server is minimal when compared with the capability of modern
workstations, servers, and networks. For instance, as a base the
FLEXlm daemon, lmgrd, uses about 160 KB of memory, and the
Landmark daemon, licsrv, uses about 180 KB; however, with a large
license file and with a large number of users, both daemons may use
about six megabytes of memory.
AIX
uname -m
000276513100
The first two and last two digits are always zeros. Strip away the
first two and last two digits, and used the middle eight digits as the
host ID. For example:
02765131
The identifier returned by uname may change after the software levels
of the AIX operating system are changed. This change may affect the
validity of your Landmark license.
IRIX
anw% /etc/sysinfo -s
1762857767
For example, using the number from sysinfo provided above, the
command sequence would provide the following:
Linux
/sbin/ifconfig Device
where Device is the name of the interface driver (such as eth for an
Ethernet interface) with its device number. For example, the first
Ethernet adapter in the computer would be eth0 .
01:32:09:F6:A5:F5
For the LAM server, the host ID is the number without the colons.
For example, given the address above, the following would be the
ID of the Ethernet interface:
013209F6A5F5
Solaris
highpoint% sysdef -h
*
* Hostid
*
7233926c
To retrieve the host name from the system, enter the following in a
terminal window:
uname -n
http://www.lgc.com/support/licensing
Provide Landmark Licensing with the host ID and the host name
as well as the type of license, number of users for the license,
machine manufacturer and model, and operating system name and
version.
5. Copy the license file to a folder on the machine where the license
server runs and is accessible by the license server.
$OWHOME/lam/bin/startlmgrd -c /export/home/license/license.dat
The following procedure should also be used if you must reinstall the
License Manager files.
1. Log on as root.
On the local system, allow the remote system access to the local
system:
xhost + RemoteMachineName
3. Run the Setup program. For example, you may enter the
following:
/cdrom/CDInstall/install/setup
Or, enter n , and enter another path for the log files.
5. If the OWHOME environment variable has not been set, you will
be prompted to enter its path. The path must be a complete
pathname, such as:
/d01/programs/OpenWorks
7. If the location does not exist, the Release Manager will ask you to
allow it to create the directory or subdirectories that do not exist.
11. Select Linux for the Linux operating system, SUNSV for the
Solaris operating system, IRIX64 for the IRIX operating system,
or AIX for IBMs AIX operating system, in the Target OS option
menu.
12. Click Start. The Product Installation Status dialog opens with the
Installation Status Window.
18. Click OK to delete the log files, or click Cancel to save the log
files.
telnet nova
login: root
setenv OWHOME /pa/OpenWorks (C Shell), or
OWHOME=/pa/OpenWorks;export OWHOME (Bourne or Korn Shell)
cd /pa/OpenWorks/lam/bin
./startlmgrd
./stoplmgrd
a license.dat file
Groups may share licenses with other groups through the use of the
LM_LICENSE_FILE environment variable:
Each group has a copy of each license.dat file from the other groups
(hopefully all named appropriately).
NOTE: Rollover in LAM version 2003.0 does not work properly. If a user runs out
of licenses in the license_gl,.dat file, LAM will not automatically rollover to
license_g2.dat.
LM_LICENSE_FILE 2013@HostName
or
LM_LICENSE_FILE $OWHOME/lam/license.dat
FLEXlm writes the path to the license file in either the user home
directory or the root directory (depending on the platform and
configuration) in a hidden file named .flexlmrc.
Overriding LM_LICENSE_FILE
Landmark generally makes use of the LM_LICENSE_FILE
environment variable. Applications running for the first time may
incorrectly override the setting of the LM_LICENSE_FILE variable.
To restrict who can run the utilities, lmgrd license server must be
started with the -2 -p switch. For instance to start the server and restrict
the use of the utilities, you might enter the following:
$OWHOME/lam/bin/startlmgrd -c /export/home/license/license.dat -2 -p
After disabling lmdown, you can only stop the lmgrd license server
with the kill command, but you must not use the version of the
command with the -9 switch.
Without OpenWorks
For users to submit simulation jobs from a Windows 2000 machine to a remote
UNIX or Linux machine, the location of the UNIX/Linux VIP installation and the
location of the License Manager must be known. This information is provided in
a .kviprc file that a user has in his home directory or the site administrator has
placed in /etc or /usr/local/etc directories. A template of this file is
located in the UNIX and Linux VIP installation and is found in the top VIP
directory.
If it is to be placed in the users home directory, make a copy of this file and
rename it to .kviprc (note the dot before the name). If the site administrator has
placed it in /etc or /usr/local/etc, the dot before the name is not required.
Edit the copied file and modify the location of the VIP UNIX or Linux installation
(VIPHOME) and the location of the License Managers license.dat file
(LM_LICENSE_FILE).
Starting DESKTOP-VIP for Windows 2000 will set the following simulator
default environment variables:
If a user chooses to use a different simulator, the particular simulator name can be
changed by setting the appropriate variable before starting DESKTOP-VIP. Or the
user can switch between simulator versions on the Job Submittal panel.
Note that the default simulator name version numbers are no longer different for
the Linux executables.
Refer to the Parallel Computing chapter of the Getting Started manual for a helpful
introduction to parallel computing.
Warning
Be sure to read the IncludeFileRules document carefully. This document provides a spreadsheet
to help you find your configuration options and the setup rules that must be met.
4. Linux Red Hat 7.2 cluster workstations. This configuration is often referred
to as a DISTRIBUTED system.
1. Log in directly to one of the SP nodes and submit the run from the command
line.
1. Log onto the Silicon Graphics, Solaris, or Linux shared memory machine and
submit the run from the command line.
NOTE: MPI (Argonne N.L. Version 1.1) needs to be accessible from the submitting
machine. The code is provided with the Desktop-VIP installation.
For example, lets assume that the VIP home directory ($VIPHOME) is located at
/mnt/vip on the first node. Then the same directory must be cross mounted and
named so it has the same full path name on all the remaining nodes. Any errors
you receive may not be very descriptive of the underlying problem if the file
systems are not mounted correctly. Refer to Appendix B for NFS mounting
requirements.
NOTE: It is highly recommended that all user files are located on a local disk and
not on a NFS mounted disk. This will reduce and possibly eliminate NFS
read/write errors which could cause abnormal termination of runs and/or
corrupt data files. This is manditory for SGI, Solaris, and Linux Shared
Memory workstations.
.rhosts File
You must be able to remotely log in to the nodes that will be used to run
PARALLEL-VIP without entering a password. This requires that you have a
.rhosts file in your home directory containing the names of all the nodes you want
to be able to access or that your administrator has modified the /etc/hosts file. A
sample .rhosts file is shown below.
#
#ptype ibmsp IBM SP
#interface us User Space Comm. (us)
xyzsw1.lgc.com
xyzsw2.lgc.com
xyzsw3.lgc.com
xyzsw4.lgc.com
#interface ip Local IP Comm. (ip)
xyzen1.lgc.com
xyzen2.lgc.com
xyzen3.lgc.com
xyzen4.lgc.com
xyz2en1.lgc.com
xyz2en2.lgc.com
xyz2en3.lgc.com
xyz2en4.lgc.com
#ptype sgishm SGI Shared Memory
sgi1.lgc.com
#ptype generic Generic Hosts
ibm1.lgc.com
ibm2.lgc.com
#ptype linux Linux Shared Memory
lin1.lgc.com
lin2.lgc.com
#endptype
NOTE: The # is used to indicate comments which are not interpreted by the UNIX or
Linux operating systems.
The list of nodes and cpu's in the .rhosts file must contain the complete
domain name. In this example xyz2en1.lgc.com is a valid name, while
xyz2en1 is invalid.
commands in the .cshrc file. Consider the following two of .cshrc files. The first
one is valid, while the second one is invalid for running PARALLEL-VIP.
#!/bin/csh
set path =($path .)
#
if ($?prompt) then
if (-e $LM_LICENSE_FILE) then
echo License File is present
else
echo License File is missing
endif
endif
#!/bin/csh
set path =($path .)
#
if (-e $LM_LICENSE_FILE) then
echo License File is present
else
echo License File is missing
endif
The invalid file contains an echo command that is invoked anytime, while the
valid file performs a test to ensure that the echo command is performed only for
interactive sessions. Although this distinction is unnecessary for the serial version
of VIP it is very important here.
NOTE: The terms valid and invalid are used here only for the perspective of
whether PARALLEL-VIP can be run; both these files are valid from a
UNIX/Linux perspective.
For example, consider that you want to run PARALLEL-VIP on the node known
as vip2en1. Using a rsh command to determine the date with the Invalid .cshrc
file listed above will return the following:
Using a rsh command to determine the date with the Valid .cshrc file listed above
will return the following:
Other Notes
PARALLEL-VIP carries memory overhead which scales with the total number of
gridblocks in the simulation (NB). The program uses 2 extra arrays, each of
dimension NB, per processor. This overhead is quite minimal when running on a
distributed memory machine, but can become quite large when running on a
shared memory system.
1. For any given directory path, there should be at least one common directory
path name for ALL the nodes;
We can satisfy these two requirements in two different ways: 1) Manual mounts
and 2) Automounter:
Manual Mounts
It is necessary that the result of /bin/pwd on ALL of the nodes/machines is a
common directory path name.
Assumptions
Machine Alpha - Contains physical disks mounted as filesystems:
/u1 and /u2.
- These filesystems are exported to other
machines as:
/u1 and /u2
Machine Beta - Mounts the filesystems as /u1 and /u2 using the
commands:
mount Alpha:/u1 /u1
mount Alpha:/u2 /u2
Tests
1. A user logs onto Alpha. At the prompts, Alpha%, he types in:
Alpha% cd /u1/some/sub/directory
Alpha% /bin/pwd
WARNING: There is a common practice that NFS mounted filesystems will look the
same; i.e., /bin/pwd would generate a common path name for all NFS
clients. The exception to this practice is on NFS servers, where symbolic
links (i.e. "ln -s") are used to access common path names. There is no
consistent way to generate a common path name from the result of /bin/
pwd on NFS servers; e.g., /bin/pwd would report /arbitrary/path/
name, to which a symlink /common/path/name is pointed. There is no
consistent way to derive a /common/path/name from a /arbitrary/
path/name except for ugly hacks. Hence Requirement 2 above would not
be satisfied. On such systems DTOP submissions will still work as long as
NFS servers are not among the simulation nodes/machines.
Automount Mounts
Automount (assuming all the involved filesystems are exported), such that;
a. /tmp_mnt/net/machine/common/path/name
b. /tmp_mnt/home/machine/userID/common/path/name
Assumptions
Machine Alpha - Contains physical disks mounted as filesytems
/u1 and /u2
These filesystems are exported to the world.
Tests
1. A user logs onto Alpha. At the prompts, Alpha%, he types in:
Alpha% cd /u1/some/sub/directory
Alpha% /bin/pwd
Automount Default
VIPNFSTMPMNTDIR /tmp_mnt
VIPNFSAUTO "not set"
Limitation:
In order for DESKTOP-VIP to work, the customers site must have an /dir to -
hosts map entry in auto.master. Typical entry maps hosts to -hosts. Customized
directory names are permitted; typical directory names include /net, /nfs, /remote,
etc.
Rules
1. If VIPNFSAUTO is set to "no", "NO", or "0", then the path normalization for
automounter is disabled.
2. If VIPNFSAUTO is set to any other values from "no", "NO", or "0", then the
path normalization for automounter is enabled.
Overview
DESKTOP-VIP Version 2003.4 will supply pre/post applications on Windows
2000 platform only. The only applications provided on UNIX and Linux will be
serial and parallel simulators. The implication of this structure is that all
simulation jobs, both serial and parallel, will be submitted from the Windows
2000 machine. A user can submit jobs locally, remotely to another Windows 2000
machine, or remotely to a UNIX or Linux machine.
For remote submittal to work properly, the machines (Windows 2000 and UNIX
or Linux ) must be able to communicate to each other using remote-copy (rcp)
and remote-shell (rsh) commands. They must be able to ping each other
without having to know the Internet Protocol (IP) address of the other machine.
For this reason Name Resolution is one of the critical requirements for remote
submittal to work properly.
Typically there are two types of network systems that are found in our customers
offices. The first is geared to larger companies who are using a fully integrated
network made up of name servers: DNS (Windows 2000/UNIX or Linux) or
WINS (NT) utilizing the dynamic host configuration protocol (DHCP). They will
have both Windows and UNIX/Linux machines on a single network with dynamic
IP addressing. The second type is geared to a small business that has a simple
network, is not made up of servers and has fixed IP addresses and naming
conventions. The small business network may also include Windows, UNIX, and
Linux machines.
For large and complex networks, the following simplified diagram (Figure 1)
represents the components required for Name Resolution of devices dynamically
across the network.
VIP 2003.4 Unix/Linux Release Notes Page 57 Appendix C: Setup Instructions to Submit Jobs via
Landmark Desktop-VIP
NT Win2K UNIX/
Linux
Client Client
Client
Figure 1
Every client machine in this architecture can ping the other by name and does not
have to know the IP address of the other machine. The DNS server works in
conjunction with the WINS server to resolve the IP and naming convention. This
is critical because if both NT and Windows 2000 machines are using DHCP to
determine their IP addresses, these IP addresses can change at any time.
The second, simple type of network is one in which there are no network servers
or, if there are, they are not running DNS and not using DHCP. Typically, the IP
address and name of each machine will not change over time. In this case, the
user can modify the /etc/HOSTS file on the UNIX or Linux machines and the
C:\winnt\system32\drivers\etc\HOSTS file on the Windows 2000 machines to
specify the IP and hostname relationships.
VIP 2003.4 Unix/Linux Release Notes Page 58 Appendix C: Setup Instructions to Submit Jobs via
Landmark Desktop-VIP
Linux machines, this file can be found in the /etc directory. On Windows 2000
machines, this file can be found in the C:\winnt\system32\drivers\etc
directory.
Notes
The user must have root (UNIX) or administrator (Windows 2000) privileges to
modify the HOSTS file.
Key Commands
ping Command This command is used to check the communications
between the different machines on the network. It can be found in the
following locations:
ping machinename
If the network has not been set up properly, then errors such as Time Out or
Connection refused will be given. If this happens then either check the DNS
server in a resolution network or add the proper IP address and qualified/
unqualified hostname information in the respective hosts files for the static IP
networks. On Solaris machines, you may also have to edit the /etc/
nsswitch.conf file to remove the {NOTFOUND=return} parameter on the
line containing the keyword hosts:.
rsh & rcp Commands The DESKTOP-VIP job submittal application uses
rsh and rcp commands to execute commands on the remote UNIX or Linux
machine and to copy files to/from the local Windows 2000 machine to the
remote UNIX or Linux machine. For these operations to work properly, it is
required for the user to be able to login from the local Windows 2000 machine
to the remote UNIX or Linux machine without entering a password. A user
can determine if a password is required on the UNIX or Linux machine by
trying to rsh to the UNIX or Linux machine from a Windows 2000 machine
by typing the following command:
VIP 2003.4 Unix/Linux Release Notes Page 59 Appendix C: Setup Instructions to Submit Jobs via
Landmark Desktop-VIP
hosts.equiv file and the users .rhosts file contain entries that denote which
machines and users can serve as remote hosts. Be certain that qualified and
unqualified machine names are specified..
Key Files
hosts file This is a system file that contains the IP address-hostname
database information. It can be found in the following locations:
SGI - /etc/hosts
Solaris - /etc/hosts
IBM - /etc/hosts
Linux - /etc/hosts
For networks that do not have DNS servers, these files must be modified to
reflect the IP address-hostname relations of the various machines that will
be communicating with each other. To test that the machines can see each
other use the ping command described above. You should enter both the
fully-qualified and unqualified hostname for all machines, both local and
remote. The hosts file on the Windows 2000 machine should contain the IP
address-hostname of the UNIX or Linux machines. The hosts file on the
UNIX or Linux machine should contain the IP address-hostname
relationships of the Windows 2000 machines. For more information on the
hosts file, perform a man hosts command on a UNIX or Linux machine.
Figure 2 is a sample of a hosts file showing a new entry for the domain
company.com and the machines name machine:
VIP 2003.4 Unix/Linux Release Notes Page 60 Appendix C: Setup Instructions to Submit Jobs via
Landmark Desktop-VIP
127.0.0.1localhost
164.132.32.01 machine.company.com machine
Figure 2
.rhosts and hosts.equiv files These are UNIX or Linux system files
that define which users on remote machines are permitted to remotely execute
commands on the local machine. When setup properly, rlogin does not
prompt for a password on the UNIX or Linux machine and the rsh command
will complete successfully on the Window 2000 machines. The hosts.equiv
file is located in the /etc directory on the UNIX or Linux machines. Users may
expand this authentication scheme based upon trusted hosts by installing a
.rhosts file in their login directory. For more information, perform a man
rhosts command on a UNIX or Linux machine.
VIP 2003.4 Unix/Linux Release Notes Page 61 Appendix C: Setup Instructions to Submit Jobs via
Landmark Desktop-VIP
VIP 2003.4 Unix/Linux Release Notes Page 62 Appendix C: Setup Instructions to Submit Jobs via
Landmark Desktop-VIP
#
# where "netgroup" is an NIS netgroup defined in the netgroup map. The
# '+' form allows access to any host or user in the netgroup, while the
# '-' form denies access to any host or user in the netgroup.
#
# Lines beginning with a '#' character and blank lines are ignored.
#
# Examples:
#
# host user allows access to user on host
# + user allows access to user on any host
# host -user denies access to user on host
# -host denies access to all users on host
# -@group denies access to all users on hosts in group
# +@group1 +@group2allows access to users in group2 on hosts in group
Windows2000machine.company.com Windows2000username
Windows2000machine Windows2000username
Figure 3
VIPrshUsers.txt file This is a Windows 2000 file that performs the same
type of function as the .rhosts and hosts.equiv files on UNIX or Linux. A
template of this file called VIPrshUsers.temp.txt is located in the
%VIPHOME%\dtvip\exec directory for the users to modify. If a
VIPrshUsers.txt file is found on the VIPrshServer machine in the
%VIPHOME%\dtvip\exec directory, the server will limit access to only the
users defined in the file. Figure 4 is a sample of the template file:
VIP 2003.4 Unix/Linux Release Notes Page 63 Appendix C: Setup Instructions to Submit Jobs via
Landmark Desktop-VIP
#VIPrshUsers.temp.txt
jSmith001
JohnBigBoot
AdminFromHeaven
# Note that the usernames are simply text strings passed by the
# VIPrshClient. They do not need to be 'true' network usernames.
# This allows you to use a more obscure word than your username
# much like a password.
# So, instead of executing:
# VIPrshClient RMTHOST -l joesmith . . .
passXYZ
26Dec1941
2cupsInaPint2PintsInMyCup
Figure 4
.kviprc file For users to submit remote simulation jobs from a Windows
2000 machine to a remote UNIX or Linux machine, the location of the UNIX/
Linux VIP installation and the location of the License Manager must be
known. This information is provided in a .kviprc file that a user has placed in
his home directory on UNIX or Linux, or the site administrator had placed in
the /etc or /usr/local/etc directory. A template of this file (kviprc) is located
in the UNIX/Linux VIP installation and is found in the top /vip directory.
If the file is to be placed in the users home directory, make a copy of this file
and rename it to .kviprc (Note the dot before the name). If the site
administrator has placed this file in either the /etc or /usr/local/etc directory,
the dot before the name should not be used.
Edit the file .kviprc and modify the following lines to point to the actual
location of the UNIX or Linux installation and the license.dat file:
VIP 2003.4 Unix/Linux Release Notes Page 64 Appendix C: Setup Instructions to Submit Jobs via
Landmark Desktop-VIP
Please notice that there should be a section for each UNIX or Linux machine
type on the network. Figure 5 represents a sample of the template file with
sections for Linux IBM, SGI, and SUN systems.
Known issue:
Linux does not honor the setting of TMPDIR and therefore all temporary/
scratched files will be placed under /tmp. The user should have sufficient
temporary space in /tmp to handle the particular problem he is trying to
simulate.
VIP 2003.4 Unix/Linux Release Notes Page 65 Appendix C: Setup Instructions to Submit Jobs via
Landmark Desktop-VIP
#!/bin/sh
# Startup file for VIP submissions.
# spf 10/09/2001
# The locations of VIPHOME and LM_LICENSE_FILE given below are only examples.
# Modify the location of VIPHOME and LM_LICENSE_FILE to reflect your particular
# installation. Please note that there are sections for the different Unix
# platforms. Please modify the one that is appropriate.
# Platform-specific commands
platform=`uname`
else
echo "$platform is not supported by VIP"
echo "Calling EXIT"
exit
fi
# Platform-independent commands
PATH=$PATH:.
export PATH
Figure 5
VIP 2003.4 Unix/Linux Release Notes Page 66 Appendix C: Setup Instructions to Submit Jobs via
Landmark Desktop-VIP
Restrictions
If the include files are located on UNIX or Linux, the include with *i.dat and
*r.dat must be to the exact location of the files. Relative paths are prone to
problems. When in doubt, always specify the full qualified path to the include
file.
VIP 2003.4 Unix/Linux Release Notes Page 67 Appendix C: Setup Instructions to Submit Jobs via
Landmark Desktop-VIP
VIP 2003.4 Unix/Linux Release Notes Page 68 Appendix C: Setup Instructions to Submit Jobs via
Appendix E: SP2 POE Checkout Guidelines
1. To check POE installation and compatible release level for each IBM-SP node
type in:
If everything is installed properly than you would get the following response:
AIX 4.3.3
POE 2.4
PSSP 3.1.1
2. The parameters set in the limits file found in /etc/security should all be set to
unlimited (-1). For example:
Wrong Correct
fsize= 4097151 -1
core= 2048 -1
data= -1 -1
rss= 0 -1
stack= 0 -1
VIP 2003.4 Unix/Linux Release Notes Page 69 Appendix E: SP2 POE Checkout Guidelines
Landmark Desktop-VIP
a. Login to a node
c. Type in:
The date will be returned. If it fails, then try setting ilevel to 6 to increase
the amount of messages. One possible failure is because a resource limit
was not set (See item 2 above)
4. The directory to the data must have the same path on all nodes. If the data is
resident on one node and mounted on the other nodes, a link must be used on
the node where the data resides. For example:
Enter:
ln -s /u7/rtartcd /tmp_mnt/home/rtartcd
5. IP addresses, node names, and aliases are defined in the /etc/hosts file. It must
be same on all nodes. Once logged on to one node, you must be able to rlogin
or rsh to any other node using any external ethernet, internal ethernet, or
switch domain names. Fully qualified domain names for each of these
domain names must exist in the user's ~/.rhosts file. See Appendix A.
/vip/dtvip/sim/bwtool
a. Edit the file twonode.list and replace the nodes with your set of
node.domain names.
VIP 2003.4 Unix/Linux Release Notes Page 70 Appendix E: SP2 POE Checkout Guidelines
Landmark Desktop-VIP
b. Type in
bwloop -f twonode.list -m ip
This will test the bandwidth between each pair of nodes found in the
twonode.list file.
IP Mode 18 mbytes/sec
Ethernet 1.2 mbytes/sec
7. If the switches are "unfenced" while a parallel job is running, the job will
abort.
VIP 2003.4 Unix/Linux Release Notes Page 71 Appendix E: SP2 POE Checkout Guidelines
Landmark Desktop-VIP
VIP 2003.4 Unix/Linux Release Notes Page 72 Appendix E: SP2 POE Checkout Guidelines
Appendix F: Modifying a Samba Server to Work
with VIP Applications
DESKTOP-VIP R2003.4 was certified with Samba 2.2.5. An example Samba
configuration file used during testing is also provided in this appendix. When
setting up your Samba installation, please adhere to the sections below to ensure
that a Samba Server will work with VIP applications. The following procedures
are best performed when logged in to the Samba server machine as root.
1. In your Samba Configuration file (smb.conf), add the following setting to the
[global] section:
You can change the path and filename to any that you desire, that given above
is just one possible example.
2. Create a text file in that location and add the following line within it:
unixuser = administrator
Change unixuser to the username of an existing unix user. You cannot leave
it as unixuser.
/pub/tools/samba/latest/bin/smbpasswd a unixuser
The utility will then prompt you to type and retype the password type the
password for the Windows administrator. Again, please type a proper
username, not unixuser.
Please note that this will only allow one password authentication for all Windows
Administrators. Therefore, if each administrator on each Windows machine has a
unique password, it will not work. If thats the case, then youre better off running
the VIPrshServer and Patent MPI services as unique users with administrative
privileges, and setting up the access of those users to Samba shares as needed.
Beginning with version 2.2.2, Samba assumes the client computer to be running
programs that understand Microsoft Windows NT communication and error
protocol. Some VIP applications depend upon third party software that can not
recognize these New Techology codes. Unless these protocol are turned off (and
older, more standard protocol used), VIP applications may not be able to open,
change or create files on a Samba share.
If you are running VIP and need access to shares made with Samba version 2.2.2
or higher, the following changes to the Samba configuration file (smb.conf) will
correct the problem. In the [global] section, add:
nt smb support = no
nt status support = no
The first parameter will turn off New Technology (NT) Server Message Block
(SMB) protocol support. This simply switches to the older, more standard
protocol that has been used for LAN communication for years. In fact, using the
older protocol culls the amount of messaging and the complexity of the
interpretters used, so communication is faster. This speedup is analogous to that
seen in Reduced Instruction Set Computers (RISC).
The second parameter turns off the passing of NT error codes by Samba. If this
parameter is left on, when a client attempts to access a file, a complex error or no-
error code is sent. Applications that are not made to interpret such a complex
code may simply assume that it is an error, and access to the file will be canceled.
Turning off the NT Status Support option will force Samba to fall back on more
general, less complex error codes, ensuring that more applications understand
them.