|
[Sponsors] |
May 20, 2015, 01:02 |
On compiling examples of CGNS
|
#1 |
Member
Join Date: Jul 2014
Posts: 31
Rep Power: 11 |
Hi
I am working on installing CGNS on Ubuntu. Well, actually I am already done with installing it but the problem is about actually using it. I followed the guide I found from a personal blog which is like as below; (in case I did it in a wrong way) ================================================== ================================================== =============== 1. installing "cmake-gt-gui" from Ubuntu Software Center. 2. installing "libx11-dev", "libxmu-dev" from Synaptic Package Manager 3. installing "OpenGL"; * sudo apt-get install libg11-mesa-dev * sudo apt-get install libglul-mesa-dev * sudo apt-get install mesa-common-dev 4. installing "szip", "zlib", "HDF5", "tcl/tk"; 4.1 zlib - downloading "zlib-1.2.8" from http://zlib.net - unzip it * ./configure -prefix=/opt/hdf5-1.8.14 * make * make check * sudo make install 4.2 szip - downloading "szip-2.1" - unzip it * ./configure -prefix=/opt/hdf5-1.8.14 * make * make check * sudo make install 4.3 HDF5 - downloading "hdf5-1.8.14" - unzip it * ./configure -prefix=/opt/hdf5-1.8.14 --with-zlib=/opt/hdf5-1.8.14 --with-szip=/opt/hdf5-1.8.14 * make * make check * sudo make install % if C++ error occurs : * sudo apt-get install build-essential 4.4 tcl/tk - downloading "tcl8.6.4-src" & "tk8.6.4-src" - unzip them * ./configure -prefix=/opt/tcl8.6.4 * make * make check * sudo make install & * ./configure -prefix=/opt/tcl8.6.4 * make * make check * sudo make install 5. cmake * sudo cmake-gui - options are like figure 1 - configure & generate 6. make install(@ /home/kim/Downloads/build) * sudo make * sudo make install ================================================== ================================================== =============== This is what I did to intall CGNS on Ubuntu. I tried to use the library on an example(cgns_test.f90) but an error occures saying; "Error: Can't open included file 'cgnslib_f.h" I thought maybe I need to make a link of "cgnslib_f.h" in the directory in which "cgns_test.f90" is. then tons of errors occure like figure 2. I really don't know what to do. Can anyone help me? I am desperately waiting for any help. Thank you for reading. Last edited by nba1942; May 20, 2015 at 02:23. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CGNS Compiling | Diego | Main CFD Forum | 17 | December 21, 2014 01:40 |
Compiling with CGNS Support | granbycools | SU2 Installation | 6 | March 31, 2014 06:52 |
Errors when compiling CGNS 3.1.3 | Tommy Chen | SU2 | 8 | January 19, 2014 14:41 |
CGNS fortran code compiling with intel visual fortran xe | dokeun | Main CFD Forum | 1 | April 5, 2012 21:01 |
CGNS libraries, compiling and linking... | Ironman80 | Main CFD Forum | 2 | February 14, 2006 22:36 |