Difference between revisions of "Newmodules"

From Earlham CS Department
Jump to navigation Jump to search
(Created page with "= Installing new software to modules= * see also Cluster:Modules <pre> ###########INSTALL GCC#################################################### 1.Go to mounts/server/...")
 
 
(One intermediate revision by the same user not shown)
Line 35: Line 35:
 
#############################################################################
 
#############################################################################
 
</pre>
 
</pre>
 +
 +
Another recipe, this one for blast+ on {hopper, pollock}:
 +
# mkdir /mounts/pollock/software/blast+
 +
# download and unpack source
 +
# ./configure --prefix=/mounts/pollock/software/blast+
 +
# make && make install # and wait 3 hours... (make -j 1 to be conservative)
 +
# mkdir /mounts/pollock/software/Modules/3.2.10/modulefiles
 +
# mkdir blast+
 +
# vi blast+/2.3.0 (see this file for an example to use with BLAST+)

Latest revision as of 21:00, 29 January 2017

Installing new software to modules

###########INSTALL GCC####################################################

1.Go to mounts/server/software and create gcc directory
2.install gcc ‘wget http://mirrors.concertpass.com/gcc/releases/gcc-4.6.2/gcc-4.6.2.tar.gz'
3.unzip it tar xzf gcc-4.6.2.tar.gz
4.cd gcc-4.6.2 => ’./contrib/download_prerequisites’
5.cd .. ——> mkdir ‘test_gcc’
6.cd ‘test_gcc’
7./mounts/pollock/software/gcc/gcc-4.6.2/configure --prefix=/mounts/pollock/software/gcc/4.6.2 --disable-multilib --enable-languages=c,c++,fortran
8.make
9.make install
10.make check-c++
11.make check-c
12.go to /mounts/pollock/software/Modules/3.2.10/modulefiles
13.mkdir gcc and cd gcc and vi 4.6.2
14.put this inside

###%Module1.0###############################################################
prereq modules

set VERSION 4.6.2
set LDIR /mounts/pollock/software
prepend-path PATH $LDIR/gcc/$VERSION/bin
prepend-path MANPATH $LDIR/gcc/$VERSION/share/man
prepend-path LD_LIBRARY_PATH $LDIR/gcc/$VERSION/lib64
module-whatis "A compiler toolchain, including {c,c++,fortran,java} compilers and benchmarking utilities"
##
15.module load gcc/4.6.2
16.gcc —version
#############################################################################

Another recipe, this one for blast+ on {hopper, pollock}:

  1. mkdir /mounts/pollock/software/blast+
  2. download and unpack source
  3. ./configure --prefix=/mounts/pollock/software/blast+
  4. make && make install # and wait 3 hours... (make -j 1 to be conservative)
  5. mkdir /mounts/pollock/software/Modules/3.2.10/modulefiles
  6. mkdir blast+
  7. vi blast+/2.3.0 (see this file for an example to use with BLAST+)