Professional Documents
Culture Documents
Version 4.20.010
(Updated: 24 June 2013)
1988-2013 CD-adapco
TABLE OF CONTENTS
1 SYSTEM REQUIREMENTS AND LIMITATIONS Supported Systems ................................................................................................... 1-1 Graphics Support ...................................................................................................... 1-2 Disk Space Requirements ......................................................................................... 1-2 System-specific Issues .............................................................................................. 1-3 STAR-CD INSTALLATION Introduction .............................................................................................................. 2-1 STAR-CD suite installation on Linux. ..................................................................... 2-2 STAR-CD suite installation on Windows ................................................................ 2-7 LICENSING FLEXlm Version 11.9.1.0 ........................................................................................ 3-1 Vendor Daemon Name ............................................................................................. 3-1 Starting the License Daemon .................................................................................... 3-1 License File Location ............................................................................................... 3-2 Environmental Variables .......................................................................................... 3-3 4 TESTING THE INSTALLATION Setup User Environment to Run STAR .................................................................... 4-1 Create a Working Directory ...................................................................................... 4-2 Automatically Generate the Case Using Pre-processor ............................................ 4-2 Run the STAR solver ................................................................................................ 4-3
Appendix A hardware.ini (Site specific configuration file) Default Settings ....................................................................................................... A-1 Platform Settings ..................................................................................................... A-2 Host Settings ............................................................................................................ A-2 Group Settings ......................................................................................................... A-3 Appendix B software.ini (SOFTWARE CONFIGURATION FILE) Default Settings ........................................................................................................B-1 Platform Settings ......................................................................................................B-2 Group Settings ..........................................................................................................B-3 Example software.ini ................................................................................................B-3
Version 4.20 (Updated: 24 June 2013) 1
Appendix C Microsoft Windows HPC Server Installing Windows HPC Server Environment .........................................................C-1 Configure the Cluster ................................................................................................C-1 Appendix D Compilers Used to Build the Software Porting Reference Platforms for the STAR Solver .................................................. D-1 Porting Reference Platforms for the Advanced Pre-/Post-processor ....................... D-2
Section 1
Section 1
Supported Systems
Table 1-1 Certified Platforms Platform Linux x86 (64bit) Operating System Red Hat Enterprise Linux 6.2 (RHEL 6.2) Microsoft Windows 7 SP1 Microsoft Windows Server 2008 R2
Supported platforms are combination of hardware and software where some interactive testing has been performed and/or compatibility is expected:
Table 1-2 Supported Platforms Platform Operating System Red Hat Enterprise Linux 6.3 (RHEL 6.3) Linux x86 (64bit) SuSE Linux Enterprise Server 11 SP2 (SLES 11 SP2) Microsoft Windows 8 Microsoft Windows Server 2012
1-1
Section 1
Some of these versions may require OS patches to function properly. CD-adapco makes no claim for suitability of other Linux distributions not mentioned. HPC mode (parallel computation) will require implementations of MPI (Message Passing Interface) compiled for specific operating systems. IBM Platform MPI ISV Edition is now supplied with the STAR-CD distribution. It is available for Linux and Windows. Alternative third party vendors MPI implementations (e.g. Intel MPI and Open MPI) can be used.
Graphics Support
The GUI for pro-STAR, the advanced pre- and post-processing tool, has been rewritten and now uses the Qt GUI toolkit. The Motif based version has been discontinued. On Linux systems, the command-line-only pro-STAR X-Window system driver (prostar x) continues to remain available. On Windows systems, the X driver has been discontinued. OpenGL runtime libraries and appropriate hardware are required to run the default OpenGL graphics driver. These runtime libraries are usually available for free on most systems, but are not necessarily part of the default operating system installation.
1-2
Section 1
System-specific Issues
CSH/TCSH problems with MPI on clusters Users with either csh or tcsh as their default shell need to be aware of potential MPI problems caused by poorly written .cshrc files. This file is executed whenever a new shell is created and this can cause MPI jobs to fail. Examples of problems are setting TMPDIR or stty settings without checking whether a shell is running in batch mode or under remote shell session. If STAR fails to run on a cluster and renaming your .cshrc file fixes the problem then you have a poorly written .cshrc file. This problem can be avoided by setting TMPDIR to a local disk and protecting settings like stty with an if conditional to test for interactive sessions:
if ( $?TERM && "tty | \grep -v not a tty" != "" ) then
Most people dont need a .cshrc and renaming this file to .login will also work. Please note that the ksh and bash shells do not have any of these problems.
Linux
Licensing FLEXlm licensing server now requires Linux Standard Base version 3. These utilities require symbolic links to the standard Linux 2.x loaders. If these are missing, then LSB 3 executables will produce an error like the following: starusr@host_$ ./lmgrd ksh: ./lmgrd: No such file or directory starusr@host_$ On some Linux systems, installing the LSB 3 packages will not create the required symbolic links. These must be created manually as follows: ln -s ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3
1-3
Section 1
ES-ICE ES-ICE is a Motif based program, so it has dependency on the libXm.so.3 Motif runtime library. While most modern Linux distributions have moved on to newer GUI toolkit libraries, it still remains as an optional library package that can be selected.
/opt/starcd4/ICE/4.19.068/linux64_2.6-x86-glibc_2.3.4-gcc_4.4.3-ifort_11.0/bin/e s-ice: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory
STAR Solver On some 64bit Linux x86_64 systems, the matching GNU C++ 4.x run time may be missing:
star: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Install the GNU C++ 4.x /usr/lib64/libstdc++.so.6 run time library. Many Linux distributions come with very small default stack sizes. The stack size may need to be increased when running ASI cases on a cluster. This can be done by adding lines such as the following in the /etc/security/limits.conf file:
* *
soft hard
stack stack
16384 unlimited
The exact stack size limit may depend on the largest case size you wish to run. You do not need to restart your machine for this to take effect. Open MPI 1.6.2 on Linux requires the libnuma.so.1 shared object for non-uniform memory access policies. This may be missing in the default installations of some Linux distributions.
1-4
Section 1
Intel MPI 4.1 will not work on clusters where nodes cannot determine their correct external IP address using the ping command:
Assertion failed in file ../../socksm.c at line 2970: (it_plfd->revents & POLLERR) == 0 internal ABORT - process 0
Please check that the host name is not set to 127.0.0.1 or 127.0.1.1 in the local /etc/hosts file on each node. A fresh installation of some Linux distributions configure /etc/hosts file in this way.
Windows Intel Compiler Installation STAR-CD for Windows requires an Intel Visual Fortran Composer 2013 XE compiler (13.1.1.171) to run cases containing user coding. If the case is to be run on a Microsoft Windows HPC server cluster, the Intel FORTRAN compiler should only be installed on the head node. Also Microsoft Visual Studio 2012 professional or express edition is need to build STAR-CD user coding libraries. If you don't own Microsoft Visual Studio you need to install Microsoft Visual Studio 2012 Shell (Isolated), Microsoft Visual Studio 2012 Shell (Integrated) and Visual C++ 2012 Express for windows Desktop. Please install Visual C++ 2012 Express after the Microsoft Visual Studio 2010 Shell. Microsoft Visual Studio express product are available for download from:
http://www.microsoft.com/visualstudio/eng/downloads A Microsoft Visual Studio 2012 installation is required for user coding debugging support. To start a debugging session issue the command:
star -g -devtool=devenv
1-5
Section 1
STAR-CD compilation tool configuration takes place during installation if the required tools are found on your system. If the compiler tools are installed after STAR-CD, please rename:
to:
Short name (8dot3name) STAR-CD requires short name in directory path in the 8dot3name convention. In Windows Server 2008 R2 and 2012 installations the default behaviour has 8dot3name disabled. To enable 8dot3name in the c: drive:
If you do not wish to enable 8dot3name support, please install STAR-CD in a installation directory that does not contain a space. You will also need to run STAR-CD in case directories that do not contain a space.
1-6
Section 1
Running on clusters STAR-CD runs require the user to have power user rights or higher on the local machine starting the run. Power user rights are not required for shared memory runs on the local machine. To configure this, login to node which will start the run with administrator privilege. If you are not using a domain controller: Select Administrator Tools > Computer Management > Local Users and Groups > Users > Account Name of Users running STAR-CD Right click and select properties. Select the member of tab, click the advanced button, and then find now button. Select Power User or Administrator and click ok.
If you are using a domain controller: Select Administrator Tools > Computer Management > Local Users and Groups > Groups > Power User or Administrator. Right click and select properties. Click add, then advanced button, and then find now button. Select Domain Users and click ok.
If your system administrator does not wish to add all Domain users as power users on the local machine, they can add individual users or create a STAR-CD users group. Privileges can also be added from the command line using the net local group "power user" "domain name\account name or group" /add command.
1-7
Section 1
1-8
Section 2
Section 2
STAR-CD INSTALLATION
Introduction
This new version of STAR-CD is released through user services download. The following is the minimum that is required to be installed to run STAR-CD: pro-STAR (pre-processor and post-processor) STAR (the continuum mechanics solver) STARDATA (chemical reaction databases) FLEXlm (can be omitted if FLEXlm is already available)
Additional plugins are provided. Please check the installation messages for a full list of available software and versions. Several other software components are supplied and these are presented during the installation. Several of these were previously included as pre-installed plugins, but now they can be installed in a separate manner, allowing users to try different versions of the additional software without disturbing existing installations The following optional components are available for Linux in the same package:
STAR-NET (for running under Grid Engine, OpenLava, Lava, LSF, OpenPBS, PBSPro, SGE and Torque resource managers) IBM Platform MPI ISV Edition 8.3.0.2 PC MPI 8.1.1.0 (older version of IBM Platform MPI) Intel MPI 4.1.0 (alternative commercial MPI) Open MPI 1.6.2 (alternative Open Source MPI) Common (Contains the manuals and tutorials, it is recommended that these are installed).
The following optional components are available for Windows in the same package:
IBM Platform IBM ISV Edition 8.3.0.3 PC MPI 8.1.1.0 (older version of IBM Platform MPI) Intel MPI 4.1.0 (alternative commercial MPI).
2-1
Section 2
Preparing Downloaded Packages Unpack the tar file follow the instructions in the Installing the Software section, by substituting the string /opt/starcd with the location of the distribution on your site.
Installing the Software In this section the location /tmp/star_pkg can refer equally to the location of the tar or zip file unpacked from the unpacked downloaded package. It is assumed here (for example) that the destination is /opt/starcd. It is not recommended to run the installer using the root account. This is because the installation of process of STAR-CD does not require administrative permission. Change directory to /tmp/star_pkg and execute the setup script with the command sh ./setup. It is recommended not to run the installer as root as it is not necessary to have administrative permission to install STAR-CD. The script can be interrupted at any time before the final stage in which the actual installation of files is initiated (usually <CTRL>-C). This script lists the various required packages and optional packages available and prompts the user to select a system for installation. It will also prompt the user for the installation directory, and create it if necessary. The installation process can be repeated for numerous product combinations. The installation script makes no assumption about the intended target platform, so all products may be installed on a central server or over a network. Secure Shell (ssh/scp) is now the default protocol for secure authentication to remote hosts for STAR-CD. It is not recommended to use the old insecure remote shell (rsh/rcp) protocol, which is not installed by default in modern linux distributions. A different secure connection protocol like Kerberos or one that comes with your batch scheduler can be chosen during the installation process:
2-2
Section 2
Secure Shell (ssh/scp) is now the default protocol for secure authentication to remote hosts. Do you want to use an alternative protocol? yes Please enter full path to command for launching remote shell: /usr/kerberos/bin/rsh Please enter full path to command for remote file copy: /usr/kerberos/bin/rcp Configured "REMOTETASK=/usr/kerberos/bin/rsh". Configured "REMOTECOPY=/usr/kerberos/bin/rcp".
After all the specified software has been installed, the Software Administrator should check that the following files are up-to-date: /opt/starcd/doc/install.pdf /opt/starcd/doc/prostar-error-report.pdf /opt/starcd/doc/star-error-report.pdf /opt/starcd/doc/star_rnotes.pdf These documents are occasionally updated after the creation of the archives supplied with the tar files. Please check the copies on the User Services web site (https://support.cd-adapco.com) or contact your support representative. The PDF files are accessible to users through the pro-STAR help menu.
Initialising the Software The installation tool allows any number of platform specific software to be installed below the same STARDIR location. Subsequent installation processes will not affect any configuration files that are already in the $STARDIR/etc directory. Repeated installation action creates files with an extension -new (for example software.ini-new) that can be renamed as the Software Administrator wishes, provided that the filename extension is retained as .ini. The new configuration file can be activated by issuing the command setstar after an initialization of the default system. A menu is presented, allowing the user to select the appropriate configuration file. Local copies of the software.ini file can be created to tailor the installation for variation of versions or non-default ports. For example, one might create a file named alternate.ini in the $STARDIR/etc directory that activates a non-default port of STAR solver, or make a copy in ones home directory with different settings. To activate the alternative INI files, a repeated call to setstar offers a menu of options for different configuration files. If you choose the last option on the list, then the full path to the file must be specified.
Version 4.20 (Updated: 24 June 2013) 2-3
Section 2
Hardware and Software Configuration The installation directory will contain: bin/ doc/ etc/ sbin/ IBMMPI/ ICE/ INTELMPI OPENMPI/ PCMPI/ PROSTAR/ STAR/ STARDATA/ STARNET/ (Plus others) The etc directory contains three important configuration files. The hardware.ini file contains site hardware and license information. The software.ini file contains installation specific information. The setstar file configures the users environment to be able to run STAR.
hardware.ini An example hardware.ini file is written with the installation. A full list of all options is given in Appendix A, and these can be optimised for each site. However, during the installation, the Software Administrator answers two questions about licensing. The results are placed in the hardware.ini file. This is all that is required in order to test the software.
software.ini Under normal circumstances, the software.ini should not need editing. However, there may be occasions where non-standard installation combinations are required, and Appendix B contains a list of options and instructions for these circumstance. setstar This file should not be edited. The end user simply executes the following shell dependent commands.
2-4 Version 4.20 (Updated: 24 June 2013)
Section 2
For Bourne, Korn or Bash shells: . /opt/starcd/etc/setstar For C and Tcsh shells: source /opt/starcd/etc/setstar STAR version information will be printed out in the terminal screen, for example, on a linux platform:
SARDIR: /opt/starcd STARINI: Default CDLMD_LICENSE_FILE: 19999@starlicenseserver LM_LICENSE_FILE: 12345@otherlicenseserver ICE: IBMMPI: INTEL: INTELMPI: OPENMPI: PCMPI: PROSTAR: STAR: STARCDMAN: STARDATA: STARNET: ICE/4.*/linux64_2.6-x86-glibc_2.3.4-gcc_4.4.3-ifort_11.0 IBMMPI/8.3.0.2/linux64_2.6-x86-glibc_2.3.4 /opt/intel INTELMPI/4.1.0/linux64_2.6-x86-glibc_2.3.4 $STARDIR/OPENMPI/1.6.2/linux64_2.6-x86-gcc3.4.6-glibc_2.3.4 $STARDIR/PCMPI/8.1.1.0/linux64_2.6-x86-glibc_2.3.4 $STARDIR/PROSTAR/4.20.*/linux64_2.6-x86-glibc_2.3.4 $STARDIR/STAR/4.20.*/linux64_2.6-ifort_11.0-glibc_2.3.4-dso $STARDIR/4.20.*/generic $STARDIR/STARDATA/2.*/generic $STARDIR/STARNET/3.00.023/generic
Activating Alternative Configuration In this example, an additional INI file has been created by the local site Software Administrator. The alternate.ini that can be accessed through a subsequent call to setstar, after the initialization of the default installation. These give access to additional platforms where they are supplied. Their naming is arbitrary and down to a site policy:
user@host_$ setstar STAR-CD INITIALIZATION MENU --------------------------1 = Default preference (software.ini) 2 = User defined preference (alternate.ini) 3 = Specify other preference Please enter your choice (1-3): 3
Please refer to Appendices A and B about changes to .ini files. If you are not a Software Administrator, you can make copies of the .ini files to edit and choose item 3 to specify the full path to the alternative .ini file.
2-5
Section 2
Additional Software: es-solutions and plugins The functionality of STAR-CD software is often enhanced by users own coding, sometimes this is to achieve repetitive tasks; other times it is to investigate new and different modelling strategies. At CD-adapco, our engineers have developed extensions to STAR-CD referred to as es-solutions (for example: es-ice, es-after etc) and other additional software plugins (wave, DARS-CFD, DOLFA). In previous versions of STAR-CD they were pre-installed in the solver directories. They now reside in individual directories and, thus, can be installed anywhere on the file system. However, we recommend that you keep to the original directory structure until you have gained some familiarity and confidence with the new installation. Some of these tools are not available for every platform but this will be shown during the installation stages and the automatic log of what has been installed. To view the available plugins for a particular platform after installation you can use the command star -showplugins.
Running STAR solver on clusters We strongly recommend the installation of resource manager such as Lava, LSF, PBSPro, Sun Grid Engine or Torque for managing batch jobs on your cluster. You will need to install STAR-NET which acts as an interface between the resource manager and STAR-CD. In order to get the best scalability of STAR-CD solver on a large number of nodes, it is important is use a high speed interconnect such as Infiniband, Myrinet or Gigabit. We recommend IBM Platform MPI as it supports multiple interconnect types. It is important to provide sufficient I/O bandwidth to a large parallel application running on many compute nodes. Therefore we recommend a parallel file system with multiple I/O nodes. In a large compute cluster with multiple parallel jobs running, it is important to provide enough disk bandwidth by using a cluster of I/O nodes. STAR-CD supports parallel I/O through the new "-pario" option. We also recommend all user coding compilations and geometry decomposition to be done on a head node. These should be done before submitting jobs to the batch system using the "-ufile" and "-decomp" options. For large clusters you may wish to employ multiple head nodes. Please refer to documentation in directory associated with the version of STAR-NET
$STARNET/generic/doc/starnet.pdf
2-6
Section 2
%STARDIR%\STAR-CD4.20.*_InstallLog.log
If you wish to run STAR-CD on a cluster using multiple nodes, you must install IBM Platform MPI, PC MPI or Intel MPI on the same drive with same path structure on all nodes. This can be done by selecting destination location during the MPI installation. Users will also need to store their password in the Windows registry as described in Appendix E of the User Guide. To run STAR-CD on a cluster it is recommended to use UNC share by performing Network Installation for clusters. For Windows 7 and Windows Server 2008/2012 (but not Windows 8) it is also possible to use dynamic UNC shares by disabling User Access Control (UAC) and rebooting. On Windows Server 2012 you must switch off UAC by changing the registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA
Installing Downloaded Packages The zip files must be unpacked into separate temporary directories (for example C:\tmp\star_pkg). Click the STAR-CD_4.20.*.exe icon found in the unpacked directory to begin the installation process then follow the on screen instructions
2-7
Section 2
Network Installation for clusters STAR-CD 4.20 supports running from a file server installation and working location on a file server location. Dependencies are installed on all clients workstations. The administrator needs to login to the file server to perform a STAR-CD installation: 1. Select Custom (Advanced) option. 2. Select Additional Tasks Share install directory to make the installation visible. 3. Select Additional Tasks Use network working location for cases and choose the working location in UNC format. If you want to change or add Use network working location for cases after installation you need to modify or set STARCASES variable in <STAR-CD_INSTALL_LOCATION\ bin\starcdpowershell.bat. 4. The administrator has to make sure that the installation and working locations are visible on all compute nodes. In addition working directory needs "Security > Full Control > Allow" to be enabled for all users.
If the file server does not have a compiler, please rename autoenv-intel.bat.example" and modify as described in section Intel Compiler Installation on page 1-5.
To configure a compute node to use a pre-installed network version of STAR-CD run installer: 1. Select Custom (Advanced) option. 2. Select Configure this machine to use an existing STAR-CD network installation option. 3. Please check that CDLMD_LICENSE_FILE environmental variable point to your FLEXlm server (which can either be on local or remote) machine. 4. Use network working location for cases MUST be activated from the file server.
2-8
Section 2
Network installation for Windows client workstations This option creates a file server installation without installing any dependencies on Windows client workstations. This type of installation only supports running parallel simulations using IBM Platform MPI and PC MPI in shared memory mode. Install STAR-CD on the central server in an UNC share directory or install using the -DNETWORKINSTALL=true option on a mapped drive.
STAR-CD_4.20.*.exe -DNETWORKINSTALL=true
On each client machine that needs to run STAR-CD, launch a Windows PowerShell command window and type: set Set-ExecutionPolicy Unrestricted Then navigate to the shared installation directory on the central server, and run the following script from within the installation: <STAR-CD_INSTALL_LOCATION>\STAR-CD.ps1
Windows HPC Server installation To configure a cluster, perform a normal installation on the head node only. Run the clusrun command on the head node to install dependencies on the compute nodes:
You can also use the HPC Cluster Manager to select the compute nodes, start an Action and choose to run the command:
Please check that CDLMD_LICENSE_FILE environmental variable on the head node points to your FLEXlm server (which can either be on local or remote) machine. Also ensure all nodes in the cluster can see the FLEXlm server. Details of FLEXlm configuration on Section 4.
2-9
Section 2
2-10
Section 3
Section 3
LICENSING
Linux Systems Once installed on the target system, the FLEXlm daemon should be initialised as follows: lmadmin -import fullpath_to/license_file where path_to/license_file represents the current location of the license file that has been provided by CD-adapco. Please note that the -import option that is used will place a copy of this license file into FLEXlm_install_dir/licenses/cdlmd, where FLEXlm_install_dir is the directory where lmadmin resides. This imported license file is read when the license server is started. The log file is deposited into FLEXlm_install_dir/logs. Once the lmadmin daemon has been started, management of the license server is performed using the lmadmin web server interface, which is available at http://machinename:8080. The default license administrator username is "admin" and the default password is also "admin".
Version 4.20 (Updated: 24 June 2013) 3-1
Section 3
Windows Systems Like the Linux systems, the FLEXlm daemon is initialised with: lmadmin.exe -import fullpath_to\license_file where path_to\license_file represents the current location of the license file that has been provided by CD-adapco. Please note that the -import option that is used will place a copy of this license file into FLEXlm_install_dir\licenses\cdlmd, where FLEXlm_install_dir is the directory where lmadmin resides. This imported license file is read when the license server is started. The log file is deposited into FLEXlm_install_dir\logs. If it is desired to run the license server as a service, then the option -installService serviceName should also be provided, where serviceName would be replaced by the desired name for the license server service. Once the lmadmin daemon has been started, management of the license server is performed using the lmadmin web server interface, which is available at http://machinename:8080. The default license administrator username is admin and the default password is also admin.
3-2
Section 3
Windows Systems A configuration keyname is in the Windows registry: HKEY_LOCAL_MACHINE\SOFTWARE\FLEXlm License Manager In addition, the file $STARDIR/license/license.dat will be used if present.
Environmental Variables
The following variables can be set to adjust the behaviour. Unless others stated, setting the variable to 1 will turn the behaviour on, setting it to 0 or not setting it at all will turn it off.
STARLICENSELOG When the license routines run, they will write to the file this is pointing to as well as standard out. Can be useful if license messages dont appear etc. This has to be set to the file.
STARLICENSEVERBOSE Causes more verbose messages to be displayed to both screen and log file.
STARNOFLEXLMRC Causes FLEXlm not to write the ~/.flexlmrc file (Linux) or registry key (Windows).
3-3
Section 3
STARNOTIMEOUT FLEXlm normally times out after 2 hours of inactivity. This means that if a machine crashes with a license checked out, the license will return to the server after this time. In cases where no activity for two hours is normal (a queuing system which suspends a job during the day or a long radiation calculation in iteration 0) then this will cause a SIGPIPE error (the client tries to speak to the server down a closed pipe). STAR-CD handles this error and exits. If this variable is set FLEXlm will never time out and so avoid the SIGPIPE error but the user needs to be aware that this may cause licenses which would otherwise be returned to remain out and so lmremove needs to be used.
STARWAIT Normally, FLEXlm will return if a license is unavailable and the code will exit. If STARWAIT is set, then FLEXlm will wait until a license becomes available. This may be of use in queue or batch systems
3-4
Section 4
Section 4
Linux Systems For Bourne, Korn or Bash shells: . /opt/starcd/etc/setstar For C and Tcsh shells: source /opt/starcd/etc/setstar This should return STAR version information, for example, on a Linux platform:
STARDIR: /opt/starcd STARINI: Default CDLMD_LICENSE_FILE:19999@starlicenseserver LM_LICENSE_FILE: 12345@otherlicenseserver ABSOFT: IBMMPI: ICE: INTEL: INTELMPI: OPENMPI: PCMPI: PROSTAR: STAR: STARCDMAN: STARDATA: STARNET: /opt/absoft $STARDIR/IBMMPI/8.3.0.2/linux64_2.6-x86-glibc_2.3.4 ICE/4.20.*/linux64_2.6-x86-glibc_2.3.4-gcc_4.4.3-ifort_11.0 /opt/intel $STARDIR/INTELMPI/4.1.0/linux64_2.6-x86-glibc_2.3.4 $STARDIR/OPENMPI/1.6.2/linux64_2.6-gcc_3.4.6-glibc_2.3.4 $STARDIR/PCMPI/8.1.1.0/linux64_2.6-x86-glibc_2.3.4 $STARDIR/PROSTAR/4.20.*/linux64_2.6-x86-glibc_2.3.4-gcc_4.4.3-ifort_11.0 $STARDIR/STAR/4.20.*/linux64_2.6-ifort_13.1-glibc_2.5 $STARDIR/STARCDMAN/4.20.*/generic $STARDIR/STARDATA/2.20.*/generic $STARDIR/STARNET/3.00.023/generic
Windows Systems To open a STAR-CD PowerShell Prompt and follow the instructions below: Start > All Programs > CD-adapco > STAR-CD 4.20 PowerShell Prompt: For users who wish to use CMD please type cmd inside the PowerShell to start a CMD shell.
Version 4.20 (Updated: 24 June 2013) 4-1
Section 4
The above commands should have generated a basic geometry using the pro-STAR pre- and post-processor.
4-2
Section 4
star
If the installation completed successfully, there should be no failures or error messages. Additional testing may be carried out in HPC-mode. To see other options use:
star -help
Run the STAR solver requesting a 4 domain decomposition on the local host:
star 4
Run the STAR solver requesting a 4 domain decomposition specifying the number of processes on each host:
star hostnameA,2 hostnameB,2
Again, if the installation completed successfully, there should have been no failures or error messages.
4-3
Section 4
4-4
APPENDICES
APPENDICES
1988-2013 CD adapco
Appendix A
where,
keyword is one from the following: default, platform, group or host; these are described below. name is a platform, group or host name, or left blank for the default keyword. environment setting is an environmental variable set using the Bourne shell syntax.
Default Settings
The default keyword is used to set environmental settings across all platforms and all hosts. For example, the license file can be set once per site as:
default CDLMD_LICENSE_FILE=19999@starlicenseserver
A-1
Appendix A
Platform Settings
The platform keyword is used to set environmental settings on specific platforms. For example, it might be a desired to set the Intel compiler location environmental variable to a newer patch level on Linux_x86_64 platform:
platform Linux_x86_64 INTEL=/usr/local/intel/13.1.1.163
An example of two preferred compiler hosts for user coding (hostb will be used only when hosta is unavailable) is shown in the following statement:
platform Linux_x86_64 COMPILERHOST=hosta:hostb
where hosta and hostb are automatically detected as members of the platform Linux_x86_64.
Host Settings
The host keyword is used to set host specific settings. In a similar manner to the platform keyword a compiler host can be specified:
host hostc
COMPILERHOST=hosta:hostb
this sets two preferred compiler hosts for user coding (hostb will be used only when hosta is unavailable). So that it does not matter that there is no compiler installed on hostc.
A-2
Appendix A
Group Settings
Groups are automatically determined in the $STARDIR/etc/setgroup file. A number of groups have been pre-set by CD-adapco. Examine that script to see how to define a group and if necessary the script can be modified by the site Software Administrator. The output of setgroup is a string that sets the group value for the current host. It is not usual to invoke this script directly, but its effect can be seen in the choice of port for the platform. Here is an excerpt from the setgroup script:
case $GLIBC_VER in 2.[1-3]|2.[1-2]*|2.3.1) ;; 2.3.[23]) echo "Linux_x86_64-glibc_2.3.2";; *) echo "Linux_x86_64-glibc_2.3.4";; esac
The important item in the above excerpt is that the group name is the output from the script so the string Linux_x86_64-glibc_2.3.2 is used in the hardware.ini and the software.ini file. A corresponding entry for the group determined in setgroup must be set for the environment setting to be activated.
A-3
Appendix A
A-4
Appendix B
keyword is one from default, platform or group; their function is described below. name is a platform or group name, or it is left blank for the default keyword. It can be user-defined. environment setting is an environmental variable set using the syntax of: variable = value
The information in the files is structured as shown at the end of this appendix.
Default Settings
The default keyword is used to set the top level of each software component across all platforms and all hosts. For example:
default default default default default default default default default default IBMMPITOP=$STARDIR/IBMMPI/8.3.0.2 ICETOP=$STARDIR/ICETOP/2.* INTELMPI=$STARDIR/INTELMPI/4.1.0 OPENMPI=$STARDIR/OPENMPI/1.6.2 PCMPI=$STARDIR/PCMPI/8.1.1.0 PROSTARTOP=$STARDIR/PROSTAR/4.20.* STARCDMAN=$STARDIR/STARCDMAN/4.20.*/generic STARDATA=$STARDIR/STARDATA/2.*/generic STARTOP=$STARDIR/STAR/4.20.* STARNET=$STARDIR/STARNET/3.00.023/generic
B-1
Appendix B
If a component is installed in a different location (for example a different version of an es-product) then only top level reference in the etc directory needs to be changed. For example, if OPENMPI was previously installed at /opt/openmpi/1.6.0 and not installed during the current installation, then changing:
default
OPENMPITOP=NOOPENMPI
to
default
OPENMPITOP=/opt/openmpi/1.6.2
Platform Settings
The platform settings match the STAR port naming convention and should not be changed. However, in some circumstances these will have to be changed to activate a non-default port such as versions of the STAR solver compiled with different compilers and different versions of pro-STAR that are provided to deal with different version of the platforms Operating System. The method of activating the non-default port is through modification of a copy of the software.ini file. For example, to activate a different compiled version of the STAR solver on the Linux_x86_64 platform (i.e. AMD64 or Intel EM64T):
becomes:
B-2
Appendix B
Group Settings
The groups are determined with the $STARDIR/etc/setgroup script. However, if you enhance the setgroup script then the setting for the new group must be included in the software.ini. The simplest method of setting a group is to provide an echo groupname to the case structure in setgroup, as illustrated in Appendix A. Here is an excerpt from the comment block of that script:
# # # # # # # # #
The following groups are defined in the standard "setgroup" file: Linux_x86-glibc_2.3.2 Linux_x86_64-glibc_2.3.2 Linux_x86_64-glibc_2.3.4 = Linux x86 systems with glibc-2.3.2 or later = Linux x86_64 systems with glibc-2.3.2 or later = Linux x86_64 systems with glibc-2.3.4 or later
This script can be customised to select a group name for machines based on versions of various components like Operating system versions, CPU type, C run time versions and Fortran compilers.
Notice the several pre-set group values can been seen in software.ini, here is an example how the Linux_x86_64-glibc_2.3.4 group value is interpreted:
Example software.ini
In the following listing you can see the top section of an example INI file. The definitions of the majority of the environment variables used by STAR-CD are defined there. If you need to access a product installed in a different location, for example, a different version of es-ice, then make a copy of this file (choose any name as long as you retain the .ini extension) and edit the definitions. The method for defining a different port has been described separately.
B-3
Appendix B
PROSTARTOP=$STARDIR/PROSTAR/4.20.* STARCDMAN=$STARDIR/STARCDMAN/4.20.*/generic STARDATA=$STARDIR/STARDATA/2.*/generic STARTOP=$STARDIR/STAR/4.20.* STARNET=$STARDIR/STARNET/3.00.023/generic STARPLUGIN_AFTER=$STARDIR/AFTER/4.* STARPLUGIN_DARSCFD=$STARDIR/DARSCFD/2.* STARPLUGIN_DARSCFD=$STARDIR/DARSCFD/2.* STARPLUGIN_DARSTABLE=$STARDIR/DARSTABLE/4.* STARPLUGIN_GTPOWER=$STARDIR/STARGTPOWER/7.* STARPLUGIN_ICE=$STARDIR/STARICE/2.* STARPLUGIN_WAVE=$STARDIR/WAVE/2.* STARFLAGS=
B-4
Appendix C
C-1
Appendix C
During Windows HPC Server installation filling in DNS information to template will configure the DNS information for the enterprise connection but not the private cluster connections If the STAR-CD FLEXlm license server is not running on the head node then the compute nodes will not be able to connect license server. This can be resolved by adding the DNS information of the license server host to each compute node manually. More information about Windows HPC Server 2008 can be found at: http://www.microsoft.com/hpc
C-2
Appendix D
COMPILERS USED TO BUILD THE SOFTWARE Porting Reference Platforms for the STAR Solver
Table D-1: Porting Reference Platforms used to build the STAR solver
STAR-CD Platform Operating System Linux 2.6.18, glibc 2.5 (RHEL 5 64bit) Windows Server 2008 x64 SP2 (64bit) CPU Type AMD64 and Intel EM64T (64bit) AMD64 and Intel EM64T (64bit) FORTRAN Compiler C compiler C++ compiler
CD-adapco will continue to work with compiler vendors to review performance and reliability. Our aim is to provide one port that has a good combination of reliability and performance and to maintain some continuity for supported compiler environments. Therefore, CD-adapco cannot guarantee continued support for a particular compiler.
D-1
COMPILERS USED TO BUILD THE SOFTWARE Porting Reference Platforms for the Advanced Pre-/Post-processor
Appendix D
Table D-2: Porting Reference Platforms used to build the advanced pre-/post-processor
STAR-CD Platform Operating System Linux 2.6.9, CPU Type FORTRAN Compiler C compiler C++ compiler
Linux x86 64
AMD64 and Intel EM64T (64bit) AMD64 and Intel EM64T (64bit)
D-2