StarCD 설치 방법

StarCD 설치
**************************************
* INSTALLATION DIRECTORY (Stage 1/7) *
**************************************
Please enter the full path of the top level installation directory (X=Exit):
/APP/StarCD
**************************************
* SOFTWARE SELECTION (Stage 2/7) *
**************************************
The following options can be toggled on or off by entering their numbers.
A keyword can be used to toggle any option that contains the keyword.
You may enter more than one option on the same line separated by a space.
In order to continue to the next stage you must select at least one option:
1. [ ] AFTER-4.10.012
2. [ ] DARSCFD-2.05.002
3. [ ] DARSTABLE-4.18.010
4. [ ] DARSTIF-2.07.006
5. [ ] DOLFA-1.01.004
6. [ ] FLEXLM-11.9.1.0B
7. [ ] HPMPI-2.2.5.1
8. [ ] ICE-4.18.043
9. [ ] OPENMPI-1.4.5
10. [ ] PCMPI-8.1.1.0
11. [ ] PROSTAR-4.18.006
12. [ ] SOOTNOX-1.03.003
13. [ ] STAR-4.18.019
14. [ ] STARGTPOWER-7.00.006
15. [ ] WAVE-2.14.001
A. Select all options
U. Unselect all options
Please enter your selection (X=Exit B=Back N=Next):
A
**************************************
* SOFTWARE SELECTION (Stage 2/7) *
**************************************
The following options can be toggled on or off by entering their numbers.
A keyword can be used to toggle any option that contains the keyword.
You may enter more than one option on the same line separated by a space.
In order to continue to the next stage you must select at least one option:
1. [X] AFTER-4.10.012
2. [X] DARSCFD-2.05.002
3. [X] DARSTABLE-4.18.010
4. [X] DARSTIF-2.07.006
5. [X] DOLFA-1.01.004
6. [X] FLEXLM-11.9.1.0B
7. [X] HPMPI-2.2.5.1
8. [X] ICE-4.18.043
9. [X] OPENMPI-1.4.5
10. [X] PCMPI-8.1.1.0
11. [X] PROSTAR-4.18.006
12. [X] SOOTNOX-1.03.003
13. [X] STAR-4.18.019
14. [X] STARGTPOWER-7.00.006
15. [X] WAVE-2.14.001
A. Select all options
U. Unselect all options
Please enter your selection (X=Exit B=Back N=Next):
A
**************************************
* SOFTWARE SELECTION (Stage 2/7) *
**************************************
The following options can be toggled on or off by entering their numbers.
A keyword can be used to toggle any option that contains the keyword.
You may enter more than one option on the same line separated by a space.
In order to continue to the next stage you must select at least one option:
1. [X] AFTER-4.10.012
2. [X] DARSCFD-2.05.002
3. [X] DARSTABLE-4.18.010
4. [X] DARSTIF-2.07.006
5. [X] DOLFA-1.01.004
6. [X] FLEXLM-11.9.1.0B
7. [X] HPMPI-2.2.5.1
8. [X] ICE-4.18.043
9. [X] OPENMPI-1.4.5
10. [X] PCMPI-8.1.1.0
11. [X] PROSTAR-4.18.006
12. [X] SOOTNOX-1.03.003
13. [X] STAR-4.18.019
14. [X] STARGTPOWER-7.00.006
15. [X] WAVE-2.14.001
A. Select all options
U. Unselect all options
Please enter your selection (X=Exit B=Back N=Next):
N
**************************************
* PLATFORMS SELECTION (Stage 3/7) *
**************************************
Automatically selecting the only platform available.
**************************************
* PACKAGES SELECTION (Stage 4/7) *
**************************************
The following options can be toggled on or off by entering their numbers.
A keyword can be used to toggle any option that contains the keyword.
You may enter more than one option on the same line separated by a space.
In order to continue to the next stage you must select at least one option:
1. [ ] AFTER-4.10.012 > linux64_2.6-ifort_12.1-glibc_2.3.4-dso
2. [ ] DARSCFD-2.05.002 > linux64_2.6-ifort_12.1-glibc_2.3.4
3. [ ] DARSTABLE-4.18.010 > linux64_2.6-ifort_12.1-glibc_2.3.4-dso
4. [ ] DARSTIF-2.07.006 > linux64_2.6-ifort_12.1-glibc_2.3.4-dso
5. [ ] DOLFA-1.01.004 > linux64_2.4-glibc_2.2.5
6. [ ] DOLFA-1.01.004 > linux64_2.6-ifort_11.1
7. [ ] FLEXLM-11.9.1.0B > linux64_2.6-x86-glibc_2.3.4
8. [ ] HPMPI-2.2.5.1 > linux64_2.4-x86-glibc_2.2.5
9. [ ] ICE-4.18.043 > linux64_2.6-x86-glibc_2.3.4-gcc_4.4.3-ifort_11.0
10. [ ] OPENMPI-1.4.5 > linux64_2.6-gcc_3.4.6-glibc_2.3.4
11. [ ] PCMPI-8.1.1.0 > linux64_2.6-x86-glibc_2.3.4
12. [ ] PROSTAR-4.18.006 > linux64_2.6-x86-glibc_2.3.4-gcc_4.4.3-ifort_11.0
13. [ ] SOOTNOX-1.03.003 > linux64_2.6-ifort_11.1-glibc_2.3.4-dso
14. [ ] SOOTNOX-1.03.003 > linux64_2.6-ifort_12.1-glibc_2.3.4-dso
15. [ ] STAR-4.18.019 > linux64_2.6-ifort_12.1-glibc_2.3.4-dso
16. [ ] STARGTPOWER-7.00.006 > linux64_2.6-x86
17. [ ] WAVE-2.14.001 > linux64_2.6-ifort_11.1-glibc_2.3.4-dso
18. [ ] WAVE-2.14.001 > linux64_2.6-ifort_12.1-glibc_2.3.4-dso
A. Select all options
U. Unselect all options
Please enter your selection (X=Exit B=Back N=Next):
A
**************************************
* PACKAGES SELECTION (Stage 4/7) *
**************************************
The following options can be toggled on or off by entering their numbers.
A keyword can be used to toggle any option that contains the keyword.
You may enter more than one option on the same line separated by a space.
In order to continue to the next stage you must select at least one option:
1. [X] AFTER-4.10.012 > linux64_2.6-ifort_12.1-glibc_2.3.4-dso
2. [X] DARSCFD-2.05.002 > linux64_2.6-ifort_12.1-glibc_2.3.4
3. [X] DARSTABLE-4.18.010 > linux64_2.6-ifort_12.1-glibc_2.3.4-dso
4. [X] DARSTIF-2.07.006 > linux64_2.6-ifort_12.1-glibc_2.3.4-dso
5. [X] DOLFA-1.01.004 > linux64_2.4-glibc_2.2.5
6. [X] DOLFA-1.01.004 > linux64_2.6-ifort_11.1
7. [X] FLEXLM-11.9.1.0B > linux64_2.6-x86-glibc_2.3.4
8. [X] HPMPI-2.2.5.1 > linux64_2.4-x86-glibc_2.2.5
9. [X] ICE-4.18.043 > linux64_2.6-x86-glibc_2.3.4-gcc_4.4.3-ifort_11.0
10. [X] OPENMPI-1.4.5 > linux64_2.6-gcc_3.4.6-glibc_2.3.4
11. [X] PCMPI-8.1.1.0 > linux64_2.6-x86-glibc_2.3.4
12. [X] PROSTAR-4.18.006 > linux64_2.6-x86-glibc_2.3.4-gcc_4.4.3-ifort_11.0
13. [X] SOOTNOX-1.03.003 > linux64_2.6-ifort_11.1-glibc_2.3.4-dso
14. [X] SOOTNOX-1.03.003 > linux64_2.6-ifort_12.1-glibc_2.3.4-dso
15. [X] STAR-4.18.019 > linux64_2.6-ifort_12.1-glibc_2.3.4-dso
16. [X] STARGTPOWER-7.00.006 > linux64_2.6-x86
17. [X] WAVE-2.14.001 > linux64_2.6-ifort_11.1-glibc_2.3.4-dso
18. [X] WAVE-2.14.001 > linux64_2.6-ifort_12.1-glibc_2.3.4-dso
A. Select all options
U. Unselect all options
Please enter your selection (X=Exit B=Back N=Next):
N
**************************************
* PACKAGES CONFIRMATION (Stage 5/7) *
**************************************
The software packages will be installed in the following sub-directories of the
installation directory “/APP/StarCD”:
AFTER/4.10.012/bin
DARSCFD/2.05.002/bin
DARSCFD/2.05.002/data
DARSTABLE/4.18.010/bin
DARSTABLE/4.18.010/data
DARSTIF/2.07.006/bin
DARSTIF/2.07.006/data
DOLFA/1.01.004/bin
PCMPI/8.1.1.0/doc
STARCDMAN/4.18.019/generic
PROSTAR/4.18.006/auxl
PROSTAR/4.18.006/data
PROSTAR/4.18.006/macros
SOOTNOX/1.03.003/bin
STAR/4.18.019/include
STARGTPOWER/7.00.006/bin
WAVE/2.14.001/bin
AFTER/4.10.012/linux64_2.6-ifort_12.1-glibc_2.3.4-dso
DARSCFD/2.05.002/linux64_2.6-ifort_12.1-glibc_2.3.4
DARSTABLE/4.18.010/linux64_2.6-ifort_12.1-glibc_2.3.4-dso
DARSTIF/2.07.006/linux64_2.6-ifort_12.1-glibc_2.3.4-dso
DOLFA/1.01.004/linux64_2.4-glibc_2.2.5
DOLFA/1.01.004/linux64_2.6-ifort_11.1
FLEXLM/11.9.1.0B/linux64_2.6-x86-glibc_2.3.4
HPMPI/2.2.5.1/linux64_2.4-x86-glibc_2.2.5
ICE/4.18.043/linux64_2.6-x86-glibc_2.3.4-gcc_4.4.3-ifort_11.0
OPENMPI/1.4.5/linux64_2.6-gcc_3.4.6-glibc_2.3.4
PCMPI/8.1.1.0/linux64_2.6-x86-glibc_2.3.4
PROSTAR/4.18.006/linux64_2.6-x86-glibc_2.3.4-gcc_4.4.3-ifort_11.0
SOOTNOX/1.03.003/linux64_2.6-ifort_11.1-glibc_2.3.4-dso
SOOTNOX/1.03.003/linux64_2.6-ifort_12.1-glibc_2.3.4-dso
STAR/4.18.019/linux64_2.6-ifort_12.1-glibc_2.3.4-dso
STARGTPOWER/7.00.006/linux64_2.6-x86
WAVE/2.14.001/linux64_2.6-ifort_11.1-glibc_2.3.4-dso
WAVE/2.14.001/linux64_2.6-ifort_12.1-glibc_2.3.4-dso
The next stage will start the installation process: (X=Exit B=Back N=Next)
N
**************************************
* INSTALLATION PROCESS (Stage 6/7) *
**************************************
Please wait. The installation process can take a few minutes…
PYTHON/3.2.3/linux64_2.4-x86-gcc_3.2.2-glibc_2.2.5…
bin…
etc…
sbin…
doc…
doc…
STARDATA/2.20.004/generic…
STARICE/4.18.043/bin…
STARICE/4.18.043/linux64_2.6-ifort_12.1-glibc_2.3.4-dso…
STARNET/3.00.023/generic…
AFTER/4.10.012/bin…
DARSCFD/2.05.002/bin…
DARSCFD/2.05.002/data…
DARSTABLE/4.18.010/bin…
DARSTABLE/4.18.010/data…
DARSTIF/2.07.006/bin…
DARSTIF/2.07.006/data…
DOLFA/1.01.004/bin…
PCMPI/8.1.1.0/doc…
STARCDMAN/4.18.019/generic…
PROSTAR/4.18.006/auxl…
PROSTAR/4.18.006/data…
PROSTAR/4.18.006/macros…
SOOTNOX/1.03.003/bin…
STAR/4.18.019/include…
STARGTPOWER/7.00.006/bin…
WAVE/2.14.001/bin…
AFTER/4.10.012/linux64_2.6-ifort_12.1-glibc_2.3.4-dso…
DARSCFD/2.05.002/linux64_2.6-ifort_12.1-glibc_2.3.4…
DARSTABLE/4.18.010/linux64_2.6-ifort_12.1-glibc_2.3.4-dso…
DARSTIF/2.07.006/linux64_2.6-ifort_12.1-glibc_2.3.4-dso…
DOLFA/1.01.004/linux64_2.4-glibc_2.2.5…
DOLFA/1.01.004/linux64_2.6-ifort_11.1…
FLEXLM/11.9.1.0B/linux64_2.6-x86-glibc_2.3.4…
HPMPI/2.2.5.1/linux64_2.4-x86-glibc_2.2.5…
ICE/4.18.043/linux64_2.6-x86-glibc_2.3.4-gcc_4.4.3-ifort_11.0…
OPENMPI/1.4.5/linux64_2.6-gcc_3.4.6-glibc_2.3.4…
PCMPI/8.1.1.0/linux64_2.6-x86-glibc_2.3.4…
PROSTAR/4.18.006/linux64_2.6-x86-glibc_2.3.4-gcc_4.4.3-ifort_11.0…
SOOTNOX/1.03.003/linux64_2.6-ifort_11.1-glibc_2.3.4-dso…
SOOTNOX/1.03.003/linux64_2.6-ifort_12.1-glibc_2.3.4-dso…
STAR/4.18.019/linux64_2.6-ifort_12.1-glibc_2.3.4-dso…
STARGTPOWER/7.00.006/linux64_2.6-x86…
WAVE/2.14.001/linux64_2.6-ifort_11.1-glibc_2.3.4-dso…
WAVE/2.14.001/linux64_2.6-ifort_12.1-glibc_2.3.4-dso…
( Elapsed Time: 4min, Estimated Time Left: 0min, 100.00% Completion )
Installation completed!
**************************************
* POST INSTALLATION (Stage 7/7) *
**************************************
Running post installation configuration…
Running “Packages/HPMPI-2.2.5.1/setup”…
Running “Packages/OPENMPI-1.4.5/setup”…
Running “Packages/PCMPI-8.1.1.0/setup”…
Running “Packages/PROSTAR-4.18.006/setup”…
Running “Packages/STAR-4.18.019/setup”…
Running “Packages/setup”…
Please enter LM_LICENSE_FILE or press <return> key to change this later:
1999@nodemaster01
Secure Shell (ssh/scp) is now the default protocol for secure authentication to
remote hosts. You can select another secure protocol like Kerberos or even the
insecure (rsh/rcp) protocol.
Please select remote connection protocol ssh[s], kerberos[k], rsh[r] or type
the alternative remote command:
s
Configured “REMOTETASK=/usr/bin/ssh -o StrictHostKeyChecking=no”.
Configured “REMOTECOPY=/usr/bin/scp -o StrictHostKeyChecking=no”.
The STAR-CD environment for all machines is defined by running the “setstar”
script. The “$STARDIR/etc/hardware.ini” preference file defines all necessary
environmental variables for hardware setup such as location of compilers and
license files. The “$STARDIR/etc/software.ini” preference file defines the
default settings for STAR-CD and other third party software:
# For sh, ksh, bash and compatible shells:
. /APP/StarCD/etc/setstar
# For csh, tcsh and compatible shells:
source /APP/StarCD/etc/setstar
The system or STAR administrator MUST edit these preference files to suit
the local hardware and software configurations. Once STAR-CD has been
initialized the user can type “setstar” to select a different initialization
file corresponding to a different profile of software component versions.
DONE!
Please enter your selection (R=Restart C=Close):
C

아래 내용프로파일에 넣으면 메시지가 나옴
 source /APP/StarCD/etc/setstar > /dev/null

또는 아래처럼 사용

STARDIR=/APP/StarCD ; export STARDIR
 STARINI=Default ; export STARINI
 CDLMD_LICENSE_FILE=/APP/CD-adapco/FLEXlm/11_9_1_0/bin/license.dat ; export CDLMD_LICENSE_FILE
 LM_LICENSE_FILE=1999@nodemaster01 ; export LM_LICENSE_FILE
 REMOTETASK=”/usr/bin/ssh -o StrictHostKeyChecking=no” ; export REMOTETASK
 REMOTECOPY=”/usr/bin/scp -o StrictHostKeyChecking=no” ; export REMOTECOPY
 STARPLUGIN_AFTER=$STARDIR/AFTER/4.10.012 ; export STARPLUGIN_AFTER
 STARPLUGIN_DARSCFD=$STARDIR/DARSCFD/2.05.002 ; export STARPLUGIN_DARSCFD
 STARPLUGIN_DARSTABLE=$STARDIR/DARSTABLE/4.18.010 ; export STARPLUGIN_DARSTABLE
 STARPLUGIN_DARSTIF=$STARDIR/DARSTIF/2.07.006 ; export STARPLUGIN_DARSTIF
 STARPLUGIN_DOLFA=$STARDIR/DOLFA/1.01.004 ; export STARPLUGIN_DOLFA
 STARPLUGIN_ICE=$STARDIR/STARICE/4.18.043 ; export STARPLUGIN_ICE
 STARPLUGIN_SOOTNOX=$STARDIR/SOOTNOX/1.03.003 ; export STARPLUGIN_SOOTNOX
 STARPLUGIN_WAVE=$STARDIR/WAVE/2.14.001 ; export STARPLUGIN_WAVE
 FLEXLM=$STARDIR/FLEXLM/11.9.1.0B/linux64_2.6-x86-glibc_2.3.4 ; export FLEXLM
 HPMPI=$STARDIR/HPMPI/2.2.5.1/linux64_2.4-x86-glibc_2.2.5 ; export HPMPI
 ICE=$STARDIR/ICE/4.18.043/linux64_2.6-x86-glibc_2.3.4-gcc_4.4.3-ifort_11.0 ; export ICE
 INTEL=/opt/intel ; export INTEL
 OPENMPI=$STARDIR/OPENMPI/1.4.5/linux64_2.6-gcc_3.4.6-glibc_2.3.4 ; export OPENMPI
 PCMPI=$STARDIR/PCMPI/8.1.1.0/linux64_2.6-x86-glibc_2.3.4 ; export PCMPI
 PROSTAR=$STARDIR/PROSTAR/4.18.006/linux64_2.6-x86-glibc_2.3.4-gcc_4.4.3-ifort_11.0 ; export PROSTAR
 STAR=$STARDIR/STAR/4.18.019/linux64_2.6-ifort_12.1-glibc_2.3.4-dso ; export STAR
 STARCDMAN=$STARDIR/STARCDMAN/4.18.019/generic ; export STARCDMAN
 STARDATA=$STARDIR/STARDATA/2.20.004/generic ; export STARDATA
 STARNET=$STARDIR/STARNET/3.00.023/generic ; export STARNET
 PATH=$STARDIR/bin:$PATH
 export PATH

StarCCM+ wiki

Getting started
To use the latest stable version of STAR-CCM+, load its environment module:
module load star-ccm+
To see what versions are avaiable, do
module avail star-ccm+
To load a module for a specific version do
module load star-ccm+/<version #>
Documentation
The STAR-CCM+ manuals are in /soft/cd-adapco/star-ccm+X.XX.XXX/doc, where X.XX.XXX is the version number. Documentation is also available via an extensive help system in STAR-CCM+. If you used the module command above for the stable version, you can find out the version number with
which starccm+
Files needed for the tutorials are in sub-directory “tutorials” of the “doc” directory above. To work on a tutorial, copy the files for it to a directory under your home directory.
cp -a <tutorial-directory> <home-directory>
Pre- and post-processing
For pre-processing (mesh generation and model set up) and post-processing, first request a compute node with
qsub -I -X -l walltime=8:00:00
or with
echo sleep 8h | qsub -joe -l walltime=8:00:00
To find out which node your job was assigned to, do
jobnodes <job-id>
or with
echo $PBS_NODEFILE
Then log in to the node with
ssh -Y nXXX
where nXXX is the name of the node.
Once logged in to the compute node, initialize your environment variables as above.
Start the STAR-CCM+ client GUI on the compute node.
starccm+ &
Once the STAR-CCM+ client starts on the compute node, you can start the server on the same node and set it to run in parallel using all of its cores for meshing and solving the problem.
Exiting the software will clear both the client and server processes.

Running simulations in batch mode
For long running simulations requiring more than one node, you can submit the job to the batch queue. We have an interactive script to simplify job submission. It will prompt you with questions on the resources needed.
ccmp_qs
This script will be in your PATH when you load a STAR-CCM+ module.
By default, the script will ask for 8 cores per node when it submits your job. If you want to use fewer than 8 cores per node, you can specify that as part of the “other queue options”:
 
Enter other queue options, if any: -l nodes=2:ppn=6

Running simulations in interactive mode on multiple nodes
If a job only requires one node it can be run interactively by just clicking the running man in the tool bar, or selecting Solution –> Run from the memu.
Running a multi-node job interactively has the advantage that it will not terminate if you connect to it and decide to stop it to modify a setting or parameter, or change the simulation in other ways.
To run on multiple nodes:
Submit an interactive job to the queue with the number of nodes that are optimal for your job
qsub –I –X –l walltime=24:00:00,nodes=2:ppn=8
Note that ppn (processors per node) should be 8 on the Phoenix cluster and 16 on the Zephyr cluster. You will be automatically logged in to the primary node for your job when it starts. Then do
module load star-ccm+/<version number>
Start the STAR-CCM+ GUI
starccm+ &
On the toolbar, click the load simulation button.
Set the following parameters in the Load Simulation dialog box: Run mode = parallel; Under parallel select “Use an existing machine file to specify parallel hosts; set the number of compute processes to ppn*(number of nodes); browse to your sim file and select it. The machine file name that lists your job nodes is the value of the environment variable PBS_NODEFILE. Add this parameter to the end of the Command text box:
-machinefile $PBS_NODEFILE
See example below. Typing $PBS_NODEFILE directly into the Machine File text box does not appear to work, but it should appear in the Machine File text box when it is added as the machinefile parameter in the Command text box.
You can also select “Specify parallel hosts” under “Parallel options” and manually enter the machine node

Star CD wiki
Getting started
To use STAR-CD, you need to source the setstar file for the version you’d like to use. Use one of these commands:
source /soft/cd-adapco/star-cd/4.12.004/etc/setstar
source /soft/cd-adapco/star-cd/4.10.007/etc/setstar
source /soft/cd-adapco/star-cd/4.08.007/etc/setstar
source /soft/cd-adapco/star-cd/4.06.016/etc/setstar
source /soft/cd-adapco/star-cd/4.06.007/etc/setstar
source /soft/cd-adapco/star-cd/4.04.013/etc/setstar
source /soft/cd-adapco/star-cd/4.04.010/etc/setstar
source /soft/cd-adapco/star-cd/3.27.063/etc/setstar
To use the latest stable version, omit the version number:
source /soft/cd-adapco/star-cd/etc/setstar

Versions up to 4.08.007 default to using the Absoft compiler for user subroutines. 4.10.007 and all future versions will default to using the Intel compiler. To use the Absoft compiler with 4.10.007, do
source /soft/cd-adapco/star-cd/4.10.007-absoft/etc/setstar
We will not be supporting Absoft for versions after 4.10.007.
Documentation
STAR-CD release notes are in $STARDIR/doc.
STAR-CD manuals are in $STARCDMAN.
Files needed for the tutorials are in $STARDIR/STARCDTUTS. Pick the sub-directory closest to but less than or equal to the version number. To work on a tutorial, copy the files for it to a directory under your home directory.
Pre- and post-processing
For pre-processing (mesh generation and model set up) and post-processing, first request a compute node with
qsub -I -X -l nodes=1:ppn=8,walltime=8:00:00
or with
echo sleep 8h | qsub -joe -l walltime=8:00:00

To find out which node your job was assigned to
jobnodes <job-id>
Then log in to the node with
ssh -Y nXXX
where nXXX is the name of the node assigned by PBS.
Once logged in to the compute node, initialize your environment variables as above.
Start your application on the compute node using OpenGL graphics:
prostar gl &
If your hardware does not work with OpenGL use:
prostar mesa &
Running simulations
For long running simulations requiring more than one node, use PBS to submit a batch job. An interactive script can be used to simplify job submission. It will prompt you with questions on the resources needed.
star_qs
This script will be in your PATH when you load a STAR-CD module.
By default, the script will ask for 8 cores per node when it submits your job. If you want to use fewer than 8 cores per node, you can specify that as part of the “other queue options”:
Enter other queue options, if any: -l nodes=2:ppn=6

서진우

슈퍼컴퓨팅 전문 기업 클루닉스/ 상무(기술이사)/ 정보시스템감리사/ 시스존 블로그 운영자

You may also like...

페이스북/트위트/구글 계정으로 댓글 가능합니다.