|
Choose Compilers
- Load MPI compilers and library paths:
gxl@bevo2:~> module load intel
gxl@bevo2:~> module load mvapich
gxl@bevo2:~> module load mkl
- Load tecplot for visualization:
gxl@bevo2:~> module load tecplot
Note: tecplot is launched by ‘tec360 -mesa’
Build IPARS Executable
- Read the following write-ups and proceed
- IPARSv2/doc/README
- IPARSv2/make/modular/README
- Create an executable preprocessor (size) for IPARS from
sizeux.mak
<water>/h1/gxl/IPARS/IPARSv2/
cd size
<water>/h1/gxl/IPARS/IPARSv2/size/ make -f sizeux.mak
- Preprocessor size is created and placed
in IPARSv2/work/
<water>/h1/gxl/IPARS/IPARSv2/size/
ls ../work/
CVS/ size*
- The preprocessor size replaces in the source
code special character strings (keywords) by their replacements,
as specified in *.siz files.
- Create a “Master” size file from ipars.siz
<water>/h1/gxl/IPARS/IPARSv2/
cd work
<water>/h1/gxl/IPARS/IPARSv2/work/ cp ../size/modular/ipars.siz
- Edit ipars.siz
- Choose a framework size file (frame1.siz or frame36.siz)
- Choose a physical model size file
- Choose a linear solver size file
- Choose a platform size file
- Include or exclude visualization
- Include or exclude mutliblock
- Create a “Master” make file from unix.mak
<water>/h1/gxl/IPARS/IPARSv2/
cd work
<water>/h1/gxl/IPARS/IPARSv2/work/ cp
../make/modular/unix.mak Makefile
- Edit Makefile
- Correct the path to the preprocessor size
- Correct the path to preprocessor “Master”
sizefile (ipars.siz)
- Correct the path to the “include makefiles”
(default is IPARSv2/make/modular)
- Choose a physical model makefile
- Choose a linear solver makefile
- Choose a platform makefile
- Include or exclude visualization
- Include or exclude parallel communications
- Include or exclude multiblock MACE library
- Make an executable
<water>/h1/gxl/IPARS/IPARSv2/work/
ls
CVS/ ipars.siz Makefile size*
<water>/h1/gxl/IPARS/IPARSv2/work/
make
- Check if ipars is created
<water>/h1/gxl/IPARS/IPARSv2/work/
ls ipars
ipars*
(Note: If ipars does not exist, stop and ask
for help)
|
|