[nils] r820 committed - added

3 views
Skip to first unread message

ni...@googlecode.com

unread,
Sep 26, 2014, 5:07:30 AM9/26/14
to nils-c...@googlegroups.com
Revision: 820
Author: jnskr...@gmail.com
Date: Fri Sep 26 09:07:24 2014 UTC
Log: added

https://code.google.com/p/nils/source/detail?r=820

Added:
/trunk/web-docs/cantera.html
/trunk/web-docs/g95.html

=======================================
--- /dev/null
+++ /trunk/web-docs/cantera.html Fri Sep 26 09:07:24 2014 UTC
@@ -0,0 +1,31 @@
+<body background="M83.jpg">
+
+<html> <head>
+<title>Installation of cantera on Ubuntu</title>
+</head>
+
+<body>
+<h1>Installation of cantera on Ubuntu</h1>
+
+<ol>
+ <li>Get Sundials (2.3) and extract</li>
+ <li>cd into extracted folder</li>
+ <li>./configure F77=gfortran --with-fflags='-fdefault-real-8'</li>
+ <li>check that all fortranchecks work</li>
+ <li>install as prompted from the script</li>
+ <li> Get Cantera 1.8-beta from Google Code</li>
+ <li> Extract and cd into extracted folder</li>
+ <li> Make following changes in the preconfig-file:
+ <ul>
+ <li>BUILD_F90_Interface= 'default'</li>
+ <li>f90flags='-O3 -fdefault-real-8 -fdefault-double-8' </li>
+ <li>sundials_version='2.3'</li>
+ <li>'f77 = gfortran'</li>
+ </ul>
+ </li>
+ <li>./preconfig and check that all fortranchecks work</li>
+ <li>make</li>
+ <li>sudo make install</li>
+</ol>
+</body>
+</html>
=======================================
--- /dev/null
+++ /trunk/web-docs/g95.html Fri Sep 26 09:07:24 2014 UTC
@@ -0,0 +1,31 @@
+<body background="M83.jpg">
+
+<html> <head>
+<title>Install and run g95 with openmpi on Ubuntu</title>
+</head>
+
+<body>
+<h1>Install and run g95 with openmpi on Ubuntu</h1>
+<ul>
+<li>go to <a href=http://www.g95.org/downloads>g95.org/downloads</a> and
look for g95, 64 default integer (shown as D.I. on the site)</li>
+<li>install libc6</li>
+<li>make a link to
where-you-installed/g95-install/bin/x86_64-unknown-linux-gnu-g95 named g95
that is located in /usr/bin/</li>
+<li>install cshell: sudo apt-get install csh (this is no direct
requirement of g95 but will remove a problem with check-mkfile)</li>
+<li>for the auto-test, create you own config file in config/hosts, take
host-jonas-Latitude-E7440-GNU_Linux-Ubuntu.conf as template and rename it
to host-'your hostname'-'your OS'.conf</li>
+<li>write g95 as your fortran compiler in your config-file</li>
+<li>make sure -fno-second-underscore is added to your compiler flags</li>
+<li>make sure -fdefault-real-8 is replaced with -r8</li>
+<li>run pc_auto-test --clean --debug and wait for errors:
+ <ol>
+ <li>libopen-rte.so.7 not found -> put the location of the file in
LIBRARY_PATH in .bashrc</li>
+ <li>crti.o, crt1.o not found -> export the path to the file into
LIBRARY_PATH in .bashrc</li>
+ <li>mpif.h not found -> include the path to the file in the FC path of
your host config (FC= g95 ...some flags... -I/"path-to-file")</li>
+ <li>multiple binding, fatal error in pmpi_comm_size,
Invalid_communicator -> make sure you included the mpif.h file that belongs
to the libraries in MPI_LDLIBS</li>
+ <li>libmpi_f90 and libmpi_f77 not found -> libmpi_f90.so.0 and
libmpi_f77.so.0 are not recognized by the compiler. create links to them
named libmpi_f90.so and libmpi_f77.so, respectively</li>
+ <li>mpi crashing without much explanation -> google "run mpi
passwordless" and follow instructions</li>
+ </ol>
+</li>
+<li>if g95 continues to complain about missing files, locate/install them
manually and add their paths to the respective $PATH in .bashrc or the
config-file</li>
+</ul>
+</body>
+</html>
Reply all
Reply to author
Forward
0 new messages