This is just a blog to help people finding it difficult to install Nektar++
a Spectral element solver on Linux platform.
I intend to put this as it took a lot of time for me in this installation
checking my patience. Even thought of moving from Linux to Windows
for this particular installation failure. So lets start the work.......
First thing is you can have any Linux distributions Red hat, Fedora or Ubuntu. Extract the nektar libraries from the website http://nektar.info.
Try to compile Cmake,boost_1_35_0, boost-jam ,zlib from the Linux distributions whichever you have and not from Thirparty library folder.
Anyhow you have to check for gcc, g++, gfortran compilers which comes with build essentials (mine in ubuntu -- "sudo apt-get install build-essentials")
Then comes the tricky issue check for Blas and Lapack installation.
Install the proper development packages libblas-dev , liblapack-dev.
Proceed as in the instructions given for installation in Nektar website.
The first error you get is with memset and memcpy undefined.
You have to do this inclusion #include
When you do from you project directory /usr/bin/cmake -i ../library
you are asked "Would you like to see advanced options? No "
please don't give no just say "YES" and proceed.
It will automatically find evrything but exercise care during this.
You will be asked for CXX_FLAGS give -llblas -llapack
mostly at all places asking for flags just give this.
Finally you build everything in your project directory.
Use CMakelists.txt and include you own source files and "make"
to create executable file.
This is not a complete instruction. But anyone faces problem like me
can solve the problem by this blog then I will be happy!
Please write to me for further help,
Regards,
E. Natarajan
thanndavam@gmail.com