Version 18 (modified by 9 years ago) ( diff ) | ,
---|
Building VisIt on JUQUEEN
In addition to the normal build_visit script, a special build script for JUQUEEN, called build_visit_BGQ, ist needed. To build VisIt one has to execute this script. build_visit_BGQ in turn calls the build_visit script with a special set of parameters to generate a static version of the libsim and other components which are necessary for a static linking to your simulation code.
1) download scripts
Before one can execute the build_visit_BGQ (and thereby build_visit) script, a couple of helper-scripts are also needed. These helper-scripts are contained in the svn_bin/bv_support folder of the visit source-tree. The two original build scripts and the bv_support folder can be downloaded as follows (for VisIt version 2.9.2):
2) patch scripts
As of Version 2.9.2 the original build_visit_BQG and build_visit scripts where not able to compile VisIt on the JUQUEEN installation at JSC correctly. There were several bugs in the scripts, e.g. build_visit_BGQ was not able to handle multiple compiler arguments and the build_visit script generated a wrong host-configuration file.
For VisIt 2.9.2 we could fix these issues and now have a corrected version of the script build_visit_BGQ which should be used on the JUQUEEN at JSC:
patch build_visit_BGQ
compare build_visit_BGQ with the following one and apply changes
(changes have been reported as bugreport)
patch build_visit
In bv_support/helper_funcs.sh you will find a section with the following code
(if you have downloaded the build_visit including all functions of bv_support it is in build_visit directly)
Here the paths for MPI are set. You might have to change them. Make sure they point to the correct directories.
For the current (15.10.2015) setup on JUQUEEN mpi.h can only be found if the paths include "${BLUEGENEQ}/spi/include".
3) add extras
If you want visit to build additional I/O packages, e.g. boost, netcdf, hdf5, ..., needed by several VisIt-readers (databases), you have to edit line 39 in the build_visit_BGQ script, e.g.
If you omit this line, visit tries to find system wide installations of the packages. But be aware that, in this case, several databases maybe cannot be build if the corresponding packages are not found.
4) compile VisIt
The build_visit_BGQ script may be invoked e.g. with the following arguments:
The build sequence is as follows:
- first, the compute-node version of VisIt is build in the directory builds_static_BGQ,
- than the login-node version is build in the directory builds_static
In the build process the following third party packages are installed in the directory thirdparty_static:
- mesa
- zlib, szip
- cmake
- python (including python image library (PIL), pyparsing, seedme-python)
- vtk
- icet
- I/O-Libs: boost, hdf5, netcdf, silo
5) install VisIt
install VisIt for the login node (linux-ppc64)
- create a tar.gz file for the login node
- install VisIt for the login node from that tar.gz package
(all symlinks in libraries will be reset to the paths of the machine !!)- eg. builds_static/src/svn_bin/visit-install 2.9.2 linux-ppc64 /home/VisIt/2.9.2/linux-ppc64
install VisIt for the compute node
- create a tar.gz file for the compute node
- install VisIt for the compute node from that tar.gz package
(all symlinks in libraries will be reset to the paths of the machine !!)- eg. builds_static_BGQ/src/svn_bin/visit-install 2.9.2 linux-x86_64 /home/VisIt/2.9.2/
6) tune installation
After the build process has successfully finished, VisIt is installed in the directory linux-ppc64-BGQ. It is convenient to copy all necessary libs for the compute-node into one directory. This way all libs your application needs for linking are in one common directory (linux-ppc64-BGQ/2.9.2/linux-ppc64/libsim/V2/libBGQ/, which also already contains the libsimV2 and libsimV2f):
any feedback welcomed - h.zilken@…, goebbert@…
Attachments (3)
- LaunchService_socket-bridge-host.C (15.6 KB ) - added by 9 years ago.
- build_visit_BGQ_2.10.1 (39.2 KB ) - added by 8 years ago.
- build_visit_BGQ_2.9.2 (38.7 KB ) - added by 8 years ago.
Download all attachments as: .zip