Thursday, October 31, 2013

crtbegin.o: No such file: No such file or directory Error when compiling Meep-1.2 on CentOS

When compiling Meep on CentOS, you may encounter the error
/usr/bin/ld: crtbegin.o: No such file: No such file or directory.
This error is quite misleading as it is likely could be due to the missing guile and guile-devel packages.

Do a yum install
# yum install guile guile-devel  
and recompile again

undefined reference to `dgetrf_' error when compiling Meep-1.2 on CentOS

When you are compiling meep-1.2 on CentOS, you may encounter this error

multilevel-atom.cpp:(.text+0x9a9): undefined reference to `dgetrf_'
multilevel-atom.cpp:(.text+0x9fb): undefined reference to `dgetri_'
multilevel-atom.cpp:(.text+0xa44): undefined reference to `dgetri_'
collect2: ld returned 1 exit status
make[3]: *** [meep_mpi] Error 1
make[3]: Leaving directory `/home/user1/meep-1.2/libctl'

The error is due to LAPACK linking problem

The solution is to use the pre-release Meep-1.2.1 found at http://jdj.mit.edu/~stevenj/meep-1.2.1.tar.gz

References:
  1. http://listarc.com/showthread.php?3713314-Meep+1.2+installation

Tuesday, October 29, 2013

Requirements to Support AVX

For more information, do take a look at  Wikipedia Advanced Vector Extensions for more information.

Centos OS / RH OS
Linux Kernel must be 2.6.30 and above. CentOS 6.2 and later will have full support for AVX. See PGI Forum discussion ). Do upgrade the OS 


Intel Compilers
From the Wikipedia, Intel Compiler version 11.1 onwards support AVXIt is recommended to use icc version 12.1.8 to make it work. You may want to take a look at StackOverflow Forum


GNU Compilers:
From the Wikipedia, GNU Compilers 4.6 and above.

Hardware
Sandy Bridge processor, Q1 2011[12]
Sandy Bridge E processor, Q4 2011[13]
Ivy Bridge processor, Q1 2012
Ivy Bridge E processor, Q3 2013
Haswell processor, Q2 2013.
Broadwell processor, 2014.



Sunday, October 27, 2013

Free online training on Fundamental of Hadoop from Cloudera



If you wish to understand the basics of Apache Hadoop and explore the basics of MapReduce, HDFS, ecosystem projects and the anatomy of a Hadoop Cluster. Do register in Cloudera University and watch online now.

Wednesday, October 23, 2013

Compiling GNU Scientific Library (GSL) gsl-1.16 on CentOS 6

The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. It is free software under the GNU General Public License.
The library provides a wide range of mathematical routines such as random number generators, special functions and least-squares fitting. There are over 1000 functions in total with an extensive test suite.

Step 1: The current version of GSL is gsl-1.16.tar.gz

Step 2: You may want to use the latest GCC 4.8.1 to compile. For more information on how to compile GCC 4.8.1, see Compiling GNU 4.8.1 on CentOS 6. This compilation will help to fix all the components required for gsl-1.16

Step 3: After packing gsl, To compile
# cd /root/gsl-1.15/
# mkdir build-gsl
# cd build-gsl
# ../configure --prefix=/usr/local/gsl-1.16/
# make 
# make install