Skip to content
Snippets Groups Projects
Commit 66f6bfcc authored by Daniel Koester's avatar Daniel Koester
Browse files

Some tips from Pedro Morin for Fedora Core and Ubuntu/Xubuntu/Kubuntu.

parent 8313f73d
No related branches found
No related tags found
No related merge requests found
...@@ -257,7 +257,57 @@ script "config.guess"): ...@@ -257,7 +257,57 @@ script "config.guess"):
b) SuSE 10.0: Trouble with the FORTRAN compiler. Try running b) SuSE 10.0: Trouble with the FORTRAN compiler. Try running
F77=gfortran ../configure F77=gfortran ../configure
3) sparc-sun-SunOS: 3) Some other Linuxen:
a) Fedora Core
i) Install the following packages (and dependencies)
xorg-x11-devel
blas
gcc-gfortran
This can be done with the command (as root):
# yum -y install xorg-x11-devel blas gcc-gfortran
You will also need the packages make, gcc
which usually come by default if you have a "workstation" installation.
ii) install gltools (everything as root):
# cd /usr/local
# tar vxfz /path/to/gltools-2-4.tar.gz
# cd gltools-2-4
edit the Makefile change the line
LIBRARY_PATH=-L/usr/X11/lib
to
LIBRARY_PATH=-L/usr/X11R6/lib
b) Ubuntu/Xubuntu/Kubuntu
i) Install the following packages (and dependencies)
make
gcc
g77
mesa-common-dev
libc6-dev
libx11-dev
libxext-dev
atlas3-sse2-dev
This can be done with the command:
sudo apt-get install make gcc g77 mesa-common-dev libc6-dev libx11-dev\
libxext-dev atlas3-sse2-dev
ii) Install gltools
cd /usr/local
sudo tar vxfz /path/to/gltools-2-4.tar.gz
cd gltools-2-4
edit the Makefile change the line
LIBRARY_PATH=-L/usr/X11/lib
to
LIBRARY_PATH=-L/usr/lib
4) sparc-sun-SunOS:
a) For the xdr-Routines, the library -lnsl seemed necessary. a) For the xdr-Routines, the library -lnsl seemed necessary.
b) In our case, "configure" did not automatically recognize the canonical b) In our case, "configure" did not automatically recognize the canonical
system triplet. Calling "configure --build=sparc" worked. system triplet. Calling "configure --build=sparc" worked.
......
...@@ -458,6 +458,7 @@ V. Some platform dependent notes and examples ...@@ -458,6 +458,7 @@ V. Some platform dependent notes and examples
0) Compilation under SuSE Linux: 0) Compilation under SuSE Linux:
-------------------------------- --------------------------------
a) SuSE 9.2: We used MesaGL and a BLAS lib included in our a) SuSE 9.2: We used MesaGL and a BLAS lib included in our
distribution. If MesaGL is not found, "configure" will also try "GL". The distribution. If MesaGL is not found, "configure" will also try "GL". The
alberta_util lib needed "-lg2c" to process FORTRAN code properly. alberta_util lib needed "-lg2c" to process FORTRAN code properly.
...@@ -466,8 +467,62 @@ b) SuSE 10.0: More trouble with the FORTRAN compiler. Try running ...@@ -466,8 +467,62 @@ b) SuSE 10.0: More trouble with the FORTRAN compiler. Try running
F77=gfortran ../configure F77=gfortran ../configure
1) Intel's "math core library" libmkl: 1) Compilation under Fedora Core
------------------------------------ --------------------------------
a) Install the following packages (and dependencies)
xorg-x11-devel
blas
gcc-gfortran
This can be done with the command (as root):
# yum -y install xorg-x11-devel blas gcc-gfortran
You will also need the packages make, gcc
which usually come by default if you have a "workstation" installation.
b) install gltools (everything as root):
# cd /usr/local
# tar vxfz /path/to/gltools-2-4.tar.gz
# cd gltools-2-4
edit the Makefile change the line
LIBRARY_PATH=-L/usr/X11/lib
to
LIBRARY_PATH=-L/usr/X11R6/lib
2) Compilation under Ubuntu/Xubuntu/Kubuntu
-------------------------------------------
a) Install the following packages (and dependencies)
make
gcc
g77
mesa-common-dev
libc6-dev
libx11-dev
libxext-dev
atlas3-sse2-dev
This can be done with the command:
sudo apt-get install make gcc g77 mesa-common-dev libc6-dev libx11-dev\
libxext-dev atlas3-sse2-dev
b) Install gltools
cd /usr/local
sudo tar vxfz /path/to/gltools-2-4.tar.gz
cd gltools-2-4
edit the Makefile change the line
LIBRARY_PATH=-L/usr/X11/lib
to
LIBRARY_PATH=-L/usr/lib
sudo make
3) Intel's "math core library" libmkl:
--------------------------------------
Make sure to also link with libguide, this can be achieved by the Make sure to also link with libguide, this can be achieved by the
following configure switches: following configure switches:
...@@ -482,7 +537,7 @@ or ...@@ -482,7 +537,7 @@ or
setenv LD_LIBRARY_PATH /opt/intel/mkl61/lib/32 setenv LD_LIBRARY_PATH /opt/intel/mkl61/lib/32
2) g77-compiled libblas on Linux, but Intel's ifc compiler for ALBERTA 4) g77-compiled libblas on Linux, but Intel's ifc compiler for ALBERTA
------------------------------------------------------------------- -------------------------------------------------------------------
NOTE: this probably doesn't make to much sense, but you can NOTE: this probably doesn't make to much sense, but you can
try the following try the following
...@@ -490,7 +545,7 @@ try the following ...@@ -490,7 +545,7 @@ try the following
--with-blas-name="blas -lg2c" --with-blas-name="blas -lg2c"
3) SunOS (Solaris), using libsunperf: 5) SunOS (Solaris), using libsunperf:
---------------------------------- ----------------------------------
Find out about the location of libsunperf, then using Sun's f77 Find out about the location of libsunperf, then using Sun's f77
compiler you need the following switches: compiler you need the following switches:
...@@ -502,14 +557,14 @@ However, with gcc the following might work: ...@@ -502,14 +557,14 @@ However, with gcc the following might work:
--with-blas-lib=LOCATION --with-blas-name="sunperf -lfui -lfsu -lsunmath" --with-blas-lib=LOCATION --with-blas-name="sunperf -lfui -lfsu -lsunmath"
4) Alpha AXP with Compaq's extended math-library libcxml: 6) Alpha AXP with Compaq's extended math-library libcxml:
------------------------------------------------------ ------------------------------------------------------
The following might work (UNTESTED!!!) The following might work (UNTESTED!!!)
--with-blas-lib=LOCATION --with-blas-name="cxml -lcpml" --with-blas-lib=LOCATION --with-blas-name="cxml -lcpml"
5) MAC OS X using the Accelerate library: 7) MAC OS X using the Accelerate library:
-------------------------------------- --------------------------------------
The following switch has been reported to work: The following switch has been reported to work:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment