'분류 전체보기'에 해당되는 글 20건

  1. 2012.01.26 BLAS, LAPACK, FFTW, ATLAS, CPMD 설치
  2. 2011.12.28 memlock limits(Infiniband 관련 에러)
  3. 2011.12.16 Execution host add, remove
  4. 2011.12.12 numpy & scipy
  5. 2011.11.22 Install Open Babel
  6. 2011.11.16 Rstudio 설치
  7. 2011.07.15 openvpn
  8. 2011.04.22 tomcat OutOfMemoryError: PermGen space
  9. 2011.04.21 NFS Mount Checkup Script
  10. 2011.04.18 Boost + libDAI
Cluster/Tools2012. 1. 26. 17:21

installing BLAS

# tar zxvfp blas.tgz 

# cd BLAS

# make all


installing Lapack

# tar zxvfp lapack-3.4.0.tgz 

# cd lapack-3.4.0

# cp make.inc.example make.inc

# cmake ../lapack-3.4.0

# make

# make install


installing fftw 3.3

# tar zxvfp fftw-3.3.tar.gz

# cd fftw-3.3

# ./configure

# make

# make install


installing fftw 2.1.5

# wget http://www.fftw.org/fftw-2.1.5.tar.gz

# tar zxvfp fftw-2.1.5.tar.gz

# cd fftw-2.1.5

# ./configure

# make

# make install


installing ATLAS

# tar xvfp atlas3.8.3.tar 

# cd ATLAS/

# mkdir linux_x86_64

# cd linux_x86_64

# ../configure -b 64 -D c -DPentiumCPS=2216 -Fa alg -fPIC --with-netlib-lapack=$HOME/src/lapack-3.2.1/lapack_LINUX.a -Si cputhrchk 0 && make && make install


installing CPMD

#./mkconfig.sh LINUX-x86_64-FEDORA-MPI > Makefile

# vi Makefile

===================================================

LFLAGS = -L/usr/local/lib/ -llapack -lblas -lfftw

===================================================

# make


Posted by 변익수
Cluster/SGE2011. 12. 28. 09:55

아래와 같은 에러 발생 시
====================================================================================================================
libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes.
    This will severely limit memory registrations.
libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes.
    This will severely limit memory registrations.
libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes.
    This will severely limit memory registrations.
--------------------------------------------------------------------------
The OpenFabrics (openib) BTL failed to initialize while trying to
allocate some locked memory.  This typically can indicate that the
memlock limits are set too low.  For most HPC installations, the
memlock limits should be set to "unlimited".  The failure occured
here:

  Local host:    compute-0-10.local
  OMPI source:   btl_openib_component.c:1066
  Function:      ompi_free_list_init_ex_new()
  Device:        mlx4_0
  Memlock limit: 32768

You may need to consult with your system administrator to get this
problem fixed.  This FAQ entry on the Open MPI web site may also be
helpful:

    http://www.open-mpi.org/faq/?category=openfabrics#ib-locked-pages
--------------------------------------------------------------------------
--------------------------------------------------------------------------
WARNING: There was an error initializing an OpenFabrics device.

  Local host:   compute-0-10.local
  Local device: mlx4_0
--------------------------------------------------------------------------
libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes.
    This will severely limit memory registrations.
libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes.
    This will severely limit memory registrations.
libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes.
    This will severely limit memory registrations.
libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes.
    This will severely limit memory registrations.
libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes.
    This will severely limit memory registrations.
[compute-0-10.local:02981] 7 more processes have sent help message help-mpi-btl-openib.txt / init-fail-no-mem
[compute-0-10.local:02981] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
[compute-0-10.local:02981] 7 more processes have sent help message help-mpi-btl-openib.txt / error in device init
====================================================================================================================

1. limits.conf
# vi /etc/security/limits.conf
* soft memlock unlimited
* hard memlock unlimited


2. For using mpirun in SGE session
# qconf -mconf
======================================================
execd_params                 H_MEMORYLOCKED=infinity
======================================================
root@ngscluster1.local modified "global" in configuration list

'Cluster > SGE' 카테고리의 다른 글

Execution host add, remove  (0) 2011.12.16
Posted by 변익수
Cluster/SGE2011. 12. 16. 09:21

1. Adding an execution host
Make the new host an administrative host

# qconf -ah <hostname>

As root on this new host, run the following script from $SGE_ROOT

# install_execd

 

2. Removing an execution host
# qconf -shgrp @allhosts
============================================================================
group_name @allhosts
hostlist test compute-0-0 compute-0-1 compute-0-3 compute-0-4 compute-0-5 \
         compute-0-13f96093_13440deac47__8000
============================================================================

# qconf -shgrp @allhosts > test.txt

# qconf -Mhgrp test.txt
root@sge.kobic.re.kr modified "@allhosts" in host group list

# qconf -shgrp @allhosts
============================================================================
group_name @allhosts
hostlist test compute-0-0 compute-0-1 compute-0-3 compute-0-4 \
         compute-0-13f96093_13440deac47__8000
============================================================================

### Delete the host
# qconf -de compute-0-5

# qconf -dh compute-0-5

### Finally, delete the configuration for the host
# qconf -dconf compute-0-5

'Cluster > SGE' 카테고리의 다른 글

memlock limits(Infiniband 관련 에러)  (0) 2011.12.28
Posted by 변익수
Language2011. 12. 12. 20:32
$ tar zxvfp Python-2.7.2.tgz
$ cd Python-2.7.2
$ ./configure --prefix=/Data/Utils/python && make && make install
$ cd ..
$ wget http://peak.telecommunity.com/dist/ez_setup.py
$ /Data/Utils/python/bin/python ez_setup.py
$ /Data/Utils/python/bin/easy_install numpy
$ /Data/Utils/python/bin/easy_install scipy
Posted by 변익수
TOOL2011. 11. 22. 11:09
# tar zxvfp openbabel-2.3.1.tar.gz
# cmake ../openbabel-2.3.1 -DPYTHON_BINDINGS=ON -DPYTHON=/share/apps/python-2.7.2/bin/python -DMAKE_INSTALL_PREFIX=/share/apps/openbable -DLIB_INSTALL_DIR=/share/apps/python-2.7.2/
# vi CMakeCache.txt
=====================================================================
PYTHON_EXECUTABLE:FILEPATH=/share/apps/python-2.7.2/bin/python
PYTHON_INCLUDE_PATH:PATH=/share/apps/python-2.7.2/include/
PYTHON_LIBRARY:FILEPATH=/share/apps/python-2.7.2/lib/libpython2.7.a
=====================================================================
# make -j4
# make install
# export LD_LIBRARY_PATH=/share/apps/python-2.7.2/lib:$LD_LIBRARY_PATH

'TOOL' 카테고리의 다른 글

Rstudio 설치  (0) 2011.11.16
openvpn  (0) 2011.07.15
Posted by 변익수
TOOL2011. 11. 16. 23:48
1. 소스 설치
# wget http://sourceforge.net/projects/boost/files/boost/1.45.0/boost_1_45_0.tar.bz2/download
# tar xvfjp boost_1_45_0.tar.bz2
# cd boost_1_45_0
# ./bootstrap.sh --with-libraries=all
# ./bjam install


# rpm -ivh http://software.freivald.com/centos/software.freivald.com-1.0.0-1.noarch.rpm 
# yum update fontconfig fontconfig-devel qt4 qt4-devel qt4-doc qt4-postgresql qt4-odbc qt4-sqlite qt-creator
ln -sf /usr/lib64/qt4/bin/qmake /usr/sbin/qmake
# tar zxvfp R-2.14.0.tar.gz
# ./configure --prefix=/usr/local/R --enable-R-shlib && make && make install
# export PATH=/usr/local/R/bin:$PATH
# export LD_LIBRARY_PATH=/usr/local/R/lib64/R/lib/:$LD_LIBRARY_PATH
# tar zxvfp rstudio-rstudio-v0.94.110-0-gf31b0db.tar.gz
# cd /usr/local/src/rstudio-rstudio-f31b0db/dependencies/linux
# ./install-dependencies-yum
# yum install ant
# mkdir build
# cd build

# cmake -DRSTUDIO_TARGET==Server -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local/rstudio -DBoost_USE_STATIC_LIBS=ON -DLINK_SEARCH_END_STATIC=ON -Wno-dev ..
# make install
# useradd -r rstudio-server
# cp /usr/local/rstudio/extras/init.d/redhat/rstudio-server /etc/init.d/
# cp /usr/local/rstudio/extras/pam/rstudio /etc/pam.d/
# ln -sf /usr/local/rstudio/bin/rstudio-server /usr/sbin/rstudio-server
# mkdir /etc/rstudio
# cp /usr/local/rstudio/extras/upstart/rstudio-server.conf /etc/rstudio
# /usr/local/rstudio/bin/rserver --server-daemonize=0 --rsession-which-r=/usr/local/R/bin/R --www-port=80 --www-address=xxx.xxx.xxx.xxx



2. RPM 설치
# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
# yum install R  
# wget http://download2.rstudio.org/rstudio-server-0.94.110-x86_64.rpm
# rpm -Uvh rstudio-server-0.94.110-x86_64.rpm 

'TOOL' 카테고리의 다른 글

Install Open Babel  (0) 2011.11.22
openvpn  (0) 2011.07.15
Posted by 변익수
TOOL2011. 7. 15. 21:08
Server
Openvpn

Client
Macbook : Tunnelblick
IPhone    : Cydia -> GuizmOVPN
Windows : Openvpn

'TOOL' 카테고리의 다른 글

Install Open Babel  (0) 2011.11.22
Rstudio 설치  (0) 2011.11.16
Posted by 변익수
Apache2011. 4. 22. 14:04
# cd /usr/local/tomcat/bin
# vi catalina.sh
---------------------------------------------------------------
JAVA_OPTS="-Xms1024m -Xmx2048m -XX:MaxPermSize=2048m"
---------------------------------------------------------------
# ./shutdown.sh
# ./startup.sh

'Apache' 카테고리의 다른 글

phpinfo();가 왜 안되지???  (0) 2011.03.14
Posted by 변익수
Language/Perl2011. 4. 21. 15:54

#!/usr/bin/perl

$mount = `df -k`;

if($mount !~ /10.1.1.1:\/BiO/)    {

system("mkdir /BiO;mount -t nfs 10.1.1.1:/BiO /BiO";chmod 777 /BiO);
}

Posted by 변익수
LINUX/Tips2011. 4. 18. 13:08

# yum install icu libicu.x86_64 libicu-devel.x86_64 libicu-doc.x86_64

# wget http://sourceforge.net/projects/boost/files/boost/1.45.0/boost_1_45_0.tar.bz2/download
# tar xvfjp boost_1_45_0.tar.bz2
# cd boost_1_45_0
# ./bootstrap.sh --with-libraries=program_options,math,graph,test --prefix=/share/apps/boost
# ./bjam install
# cd /usr/lib
# ln -sf /share/apps/boost_1_45_0/lib/libboost_program_options.a libboost_program_options-mt.a
# ln -sf /share/apps/boost_1_45_0/lib/libboost_program_options.so.1.45.0 libboost_program_options-mt.so
# ln -sf /share/apps/boost_1_45_0/lib/libboost_unit_test_framework.a boost_unit_test_framework-mt.a
# ln -sf /share/apps/boost_1_45_0/lib/libboost_unit_test_framework.so libboost_unit_test_framework-mt.so
# ln -sf /share/apps/boost-1.47.0/include/boost/ /usr/include/boost

$ wget http://cs.ru.nl/~jorism/libDAI/libDAI-0.2.7.tar.gz
$ cd libDAI-0.2.7
$ cp Makefile.LINUX Makefile.conf
$ make
$ examples/example tests/alarm.fg
Estimate of needed memory: 48.6562kB
Maximum memory: unlimited
Estimate of needed memory: 48.6562kB
Maximum memory: unlimited

'LINUX > Tips' 카테고리의 다른 글

fedora => Centos 설치  (0) 2011.04.04
ldap client  (0) 2011.04.04
Linux Error: curses.h: No such file or directory Problem Solution  (0) 2011.03.24
RPM 패키지 설치 확인  (0) 2011.03.21
Posted by 변익수