-
Notifications
You must be signed in to change notification settings - Fork 68
System Requirements
These requirements are for a FULL build, sub-builds may have less dependencies (especially the one not involving graphics). Instructions are split in two sub section. What is absolutely required and what is required if you build from source.
- Qt 4.8.x (4.7 might work, 5.x will not)
- On RedHat and CentOS the Qt that comes with packages is not fully functional. You will need to build your own full from source (or you may obtain a precompiled version here)
- gfortran 4.6 or greater
- CMake 2.8.12 or greater (recommended). Can be obtained [here] (http://www.cmake.org/download/)
-
Xcode 6.X (Xcode 7 not currently supported) as well as Xcode Command Line Tools
- You will need to make sure your removed leftovers of previous XCodes, see instructions at: Removing Old Versions of XCode
-
gfortran.
- For binary installation gfortran MUST match the one used when building UV-CDAT. gfortran we used are obtainable from links bellow:
- [10.10] (http://sourceforge.net/projects/cdat/files/Releases/UV-CDAT/2.2.0/gfortran-4.9.2-Mac-10.10.tar.gz/download)
- [10.9] (http://sourceforge.net/projects/cdat/files/Releases/UV-CDAT/2.2.0/gfortran-4.9.0-Mavericks.dmg/download)
- [10.8] (http://sourceforge.net/projects/cdat/files/Releases/UV-CDAT/2.2.0/gfortran-4.8.2-MountainLion.dmg/download)
- For binary installation gfortran MUST match the one used when building UV-CDAT. gfortran we used are obtainable from links bellow:
- Fink/MacPort
Fink/MacPort while useful are definitely polluting your system and confusing build systems (other than themselves of course). You should remove ALL reference to /sw and others from your environment.
The safest way to proceed is to actually move /sw before building UVCDAT.
sudo mv /sw /sw_back
-
XCode command line needs to be installed after xcode, run:
xcode-select --install
-
XCode (from app store, after installing it don't forget to go to Preferences then downloads tab and check "install command line tools"). DO NOT install any greater than 4.6
-
Mountain Lion seems to put the SDk in a new location so please run:
-
sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk /Developer/SDKs/MacOSX10.8.sdk
For version 1.3.x and earlier. * Install XQuartz: http://xquartz.macosforge.org/ * Scipy error can be fixed as mentioned at: http://projects.scipy.org/scipy/ticket/1710 (broken link, we're looking into its new URL)
- libqt4-dev (under RedHAT the system qt isn't working, you will need to get the binaries I built, again available from the binaries website)
- libpng-dev
- libjpeg-dev
- libxml2-dev
- libxslt-dev
- xorg-dev
- sqlite3
- libsqlite3-dev
- libbz2-dev
- libgdbm-dev
- libxt-dev
- openssl-dev (libssl-dev)
- gfortran
- g++
- qt4-dev-tools / qtcreator does the job as well
- tcl-dev
- tk-dev
- libdb4.8-dev
- yasm
- libexpat-dev
- libffi-dev
- gcc-gfortran
- libpng-devel
- libjpeg-devel
- libxml2-devel
- libxslt-devel
- sqlite
- sqlite-devel
- bzip2-devel
- gdbm-devel
- openssl-devel
- tcl-devel
- tk-devel
- db4-devel
- expat-devel
- libffi-devel
- gcc-c++
- git
- cmake
- Probably a few more, let us know if you run into one.
X Window System from ORNL to Other Sites (applies to other X forwarding systems as well)
The UV-CDAT GUI makes extensive use of the X Window System. Over long distances, a plain X Window System may encounter network latency issues which slow it down to the point of unusability. For serving UV-CDAT windows from Oak Ridge at Lawrence Livermore, we have seen NX almost eliminate this problem. The following tips have been tested on only one machine, rhea.ccs.ornl.gov, but should work with other Oak Ridge machines, at least.
To install a Free NX client (also known as the NoMachine player) on your desktop computer, follow the instructions at: https://www.olcf.ornl.gov/using-nx-on-home/
These instructions are a little outdated, but good enough so that it is easy to figure out what to do. When you get the key with curl, add the -k option. That is,
curl -k -o home.key https://users.nccs.gov/~csep99/home.key
The NX client has lots of special keystroke commands. Just remember Ctrl-Alt-0. This will give you a menu which you can use to make the window adjustments you will probably need.
The NX client may become unresponsive if you run Emacs in its own X window. The solution is simple - run Emacs inside a terminal window by unsetting DISPLAY. (There is no problem with running UV-CDAT in its own X window.)
- libicu48
- libxi-dev
- libglu1-mesa-dev
- libgl1-mesa-dev
- libcurl4-openssl-dev
- libbz2-dev - required for scirun at compile time or, at runtime you will get:
/Builds/CDAT/install/vistrails/vistrails/core/packagemanager.py, line 530 Initialization of package failed and will be disabled Package 'Scikit-Learn' failed to initialize because of the following exceptions: Traceback (most recent call last): ... File "/Builds/CDAT/install/vistrails/vistrails/core/modules/package.py", line 260, in _import (name, globals, locals, fromlist, level)) ImportError: No module named bz2
- libqt4-opengl-dev
Not needed for 1.4 but in 1.3.1 VisIt will fail from your directory do:
cd build/VisIt vi CMakeLists.txt
after line 563:
VIST_3RDPARTY_VAR(QT_BIN ....
add
SET(QT_BIN /usr/bin)
save
return to your directory and rerun make
- bzip2-devel
- dbus-devel
- dbus-c++-devel
- dbus-glib-devel
- gtkglext-devel
- mesalibGL
- mesalibGLU
- openGL
- gstreamer-devel
- gstreamer-plugins-base*devel
- gstreamer-plugins-bad*devel
- gstreamer-plugins-good*devel
- libcurldevel
- openssl-devel