Difference between revisions of "Newmodules"
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/...") |
(→Installing new software to modules) |
||
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 test && make install | ||
+ | # mkdir /mounts/pollock/software/Modules/3..../modulefiles | ||
+ | # mkdir blast+ | ||
+ | # vi blast+/2.3.0 |
Revision as of 14:58, 29 January 2017
Installing new software to modules
- see also Cluster: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}:
- mkdir /mounts/pollock/software/blast+
- download and unpack source
- ./configure --prefix="/mounts/pollock/software/blast+"
- make && make test && make install
- mkdir /mounts/pollock/software/Modules/3..../modulefiles
- mkdir blast+
- vi blast+/2.3.0