Documente Academic
Documente Profesional
Documente Cultură
CMG SOFTWARE
ON LINUX
WORKSTATIONS
15.CMG.10
This publication and the application described in it are furnished under license exclusively to
the licensee, for internal use only, and are subject to a confidentiality agreement. They may
be used only in accordance with the terms and conditions of that agreement.
All rights reserved. No part of this publication may be reproduced or transmitted in any form or
by any means, electronic, mechanical, or otherwise, including photocopying, recording, or by
any information storage/retrieval system, to any party other than the licensee, without the
written permission of Computer Modelling Group.
The information in this publication is believed to be accurate in all respects. However,
Computer Modelling Group makes no warranty as to accuracy or suitability, and does not
assume responsibility for any consequences resulting from the use thereof. The information
contained herein is subject to change without notice.
™Trademark of Computer Modelling Group Ltd. Copyright © 2015 Computer Modelling Group Ltd.
† Other company, product and service names are the properties of their respective owners.
CONTENTS
Overview 1
Getting Started 2
Security Upgrade from RLM 9.3 to RLM 11 .................................................................. 2
Installation Best Practices ............................................................................................. 2
System Requirements ................................................................................................... 2
Minimum System Requirements ...................................................................... 2
Recommended Hardware for Simulation of Large Models .............................. 2
Checking your Operating System level ............................................................ 3
Preparing to Install ........................................................................................................ 3
Logging in as root ............................................................................................ 3
Checking for Actively Running CMG Software ................................................ 3
Mounting the CMG CD-ROM ........................................................................... 4
†
NOTE: CMG Software is provided on two CD-ROM disks. The Windows CD has a ‘W’ in the name,
and the Linux CD has a ‘U’ in the name. For example, 2010.102.GW is a Windows CD and
2010.102.GU is a Linux CD.
System Requirements
NOTE: CMG software is tested at the levels listed. A higher OS level is allowed, as long as it is
backwards compatible with the listed OS level.
Preparing to Install
Logging in as root
You may need to log in as root user for the installation script to function correctly. The installation
script may not be able to install the files to the desired location as a normal user. In addition, a normal
user may not be able to mount a CD-ROM.
ls /mnt/cdrom
If you see a list of files that includes unixinst.sh, then you have successfully mounted the CMG CD-
ROM.
• Standalone Client: Licenses are locked to the computer the software will run on and cannot
be shared. Each Standalone Client computer requires its own License File.
• Network License Client: Licenses are provided by a Network License Server computer
elsewhere on the network. As part of the installation, you will need to know the name of the
Network License Server computer.
• Network License Server: The computer will serve licenses to other Network License Client
computers on the network. You may install all the CMG software on this computer or you may
choose to install just the licensing server software. A Network License Server requires a
License File.
During installation you will be prompted as to whether you wish to generate a HostID for the
computer. You will only need to do this if this computer will be a Standalone Client or a Network
License Server.
After installation, you will be required to set the CMG_LIC_HOST environment variable to point to the
name of the computer that will be providing licenses. This is the case for all three licensing
configurations.
NOTE: If you are unable to run an executable from the CD-ROM drive, you can copy the unixinst.sh
script to another directory and run it from there – the script does not need to be on the CD-ROM to
function. Use the df command to check to see if you have sufficient free space on the hard drive to
install the software.
IMPORTANT: If this machine will be part of a computer cluster such as LSF, OGE or PBS, you will
need to follow additional installation steps such as configuring your cluster for the new node, making
sure files are properly shared, and installing the cmgsimrun executable to the PATH. Refer to the
“Setting up Remote Schedulers” section of the Launcher User’s Guide for information specific to your
cluster software.
This will produce output similar to the following (actual numbers will differ):
HOST ID INFORMATION (VERSION 2011.10)
Please fax or email this form to CMGL at:
Computer Modelling Group Ltd.
Attention: License Coordinator
Address: #150,3553 - 31 Street NW. Calgary, AB., Canada T2L 2K7
Phone: 1-403-531-1300
Fax: 1-403-289-8502
Email: licenses@cmgl.ca
Customer Information
Name: Jane Doe
Company: Doe & Associates Ltd.
Location: Calgary, AB
Phone: 403-555-1234
Fax: 403-555-5678
Email: jane.doe@da.com
Site Code and License Configuration Information:
Host name: valhalla
Host ID Information:
001e4fdf75a7
ip=123.45.67.89
host=valhalla
Operating System Red Hat Enterprise Linux Server release 5.3 (Tikanga)
OS Info Linux 2.6.18-128.el5 x86_64
MACHTYPE x86_64-redhat-linux-gnu
CMG_PLATFORM linux_x64
Environment Variables:
CMG_HOME=/opt/cmg
CMG_LIC_HOST=valhalla
Send this information to us at licenses@cmgl.ca and we will generate a License File and send it back
to you.
NOTE: Although you can start the License Server at this point, it will not provide you with any licenses
until you install the License File provided by CMG.
You can check the status of your licenses using a Web browser. Start the browser and go to URL
http://localhost:5054/. See A Guide to Using CMG Licensing for more information. Please note that for
versions older than 2009 you need to browse to URL http://localhost:9000/.
#! /bin/sh
#
# rlm Start/Stop rlm
#
#----------------------------------------------------------------
# NOTE: Configure these 6 variables for your system
start() {
echo $debuglog
stop() {
su - $rlmuser -c "$rlmdowndir/rlmdown RLM -q"
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
sleep 2
start
;;
*)
echo $"Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
If you are using the C-shell, you will want to add the following lines to your .cshrc file:
set CMG_HOME=/put/your/CMG/path/in/here
set CMG_LIC_HOST=computer_name:port
set LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib/path/here
If you are running in the Korn shell (or one of its derivatives), add these lines:
export CMG_HOME=/put/your/CMG/path/in/here
export CMG_LIC_HOST=computer_name:port
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib/path/here
NOTE: Officially CMG software is supported on RHEL 5, and RHEL 3 and 4 are no longer supported;
however, for RHEL 4.0 update 4, the RHEL 4 version of these libraries will work. If you wish to run on
RHEL 3 you may use the RHEL 4 update 4 runtime libraries as shipped with the CMG 2008 (and
later) versions and put them in a directory with LD_LIBRARY_PATH pointing to it.
To obtain a list of runtime libraries required, including the Intel OpenMP and MKL runtime libraries,
the command ldd may be used. For example, for Linux x64 RHEL 5 update 2, the following was
obtained:
$ ldd /net/develsvr/devel/imex/2011.10/linux_x64/exe/mx201110.exe
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003feae00000)
libmkl_intel_lp64.so => /usr/cmg/imex/2011.10/linux_x64/lib/libmkl_intel_lp64.so
(0x00002b1e53554000)
libmkl_intel_thread.so => /usr/cmg/imex/2011.10/linux_x64/lib/libmkl_intel_thread.so
(0x00002b1e538af000)
libmkl_core.so => /usr/cmg/imex/2011.10/linux_x64/lib/libmkl_core.so (0x00002b1e545d9000)
libm.so.6 => /lib64/libm.so.6 (0x0000003fe9200000)
libiomp5.so => /usr/cmg/imex/2011.10/linux_x64/lib/libiomp5.so (0x00002b1e547cc000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003fe9600000)
libc.so.6 => /lib64/libc.so.6 (0x0000003fe8a00000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003fe9e00000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003fe8e00000)
/lib64/ld-linux-x86-64.so.2 (0x0000003fe8600000)
Example 4: Running IMEX 2012.10 on a local data file using additional command-line options to use
parallel processing:
RunSim.sh imex 2012.10 mxspe001.dat –doms –parasol 4