[cig-commits] r5865 - long/3D/Gale/trunk
walter at geodynamics.org
walter at geodynamics.org
Tue Jan 23 13:02:08 PST 2007
Author: walter
Date: 2007-01-23 13:02:08 -0800 (Tue, 23 Jan 2007)
New Revision: 5865
Modified:
long/3D/Gale/trunk/
long/3D/Gale/trunk/INSTALL
long/3D/Gale/trunk/INSTALL.PANGU
long/3D/Gale/trunk/INSTALL.STATIC
Log:
r1480 at earth: boo | 2007-01-23 11:59:23 -0800
Fix up install instructions
Property changes on: long/3D/Gale/trunk
___________________________________________________________________
Name: svk:merge
- 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:1479
+ 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:1480
Modified: long/3D/Gale/trunk/INSTALL
===================================================================
--- long/3D/Gale/trunk/INSTALL 2007-01-23 21:02:06 UTC (rev 5864)
+++ long/3D/Gale/trunk/INSTALL 2007-01-23 21:02:08 UTC (rev 5865)
@@ -22,7 +22,7 @@
libraries for
- MPI
- - Petsc 2.3.0 or 2.3.1, but not 2.3.2
+ - Petsc 2.3.2 (not 2.3.0 or 2.3.1)
- libxml2
You must also have python 2.2.1 or greater installed. If you do not
Modified: long/3D/Gale/trunk/INSTALL.PANGU
===================================================================
--- long/3D/Gale/trunk/INSTALL.PANGU 2007-01-23 21:02:06 UTC (rev 5864)
+++ long/3D/Gale/trunk/INSTALL.PANGU 2007-01-23 21:02:08 UTC (rev 5865)
@@ -13,3 +13,8 @@
and it will complete.
+To actually run, you need to add
+
+ /opt/mpichgm-1.2.6..14b..gcc..ifort_9.0/bin
+
+to your path.
\ No newline at end of file
Modified: long/3D/Gale/trunk/INSTALL.STATIC
===================================================================
--- long/3D/Gale/trunk/INSTALL.STATIC 2007-01-23 21:02:06 UTC (rev 5864)
+++ long/3D/Gale/trunk/INSTALL.STATIC 2007-01-23 21:02:08 UTC (rev 5865)
@@ -49,15 +49,31 @@
Then you must build Petsc with the Microsoft compiler, but do it via
cygwin using the "win32fe cl" compiler. Petsc does not support mingw.
+To do this, open a build environment for the Microsoft Platform SDK
+Win XP 32bit retail. Then set up MSVC by typing
+
+ C:/Program\ Files/Microsoft\ Visual\ Studio\ 8/VC/vcvarsall.bat
+
+Finally, start cygwin with
+
+ C:/cygwin/cygwin.bat
+
+Change into the petsc directory and configure with something like
+
+ config/configure.py --with-cc="/home/walter/petsc-2.3.2-p8/bin/win32fe/win32fe cl" --with-fc=0 --download-c-blas-lapack=1 --with-timer=nt CPPFFLAGS=-D_CRT_SECURE_NO_DEPRECATE --with-x=0 --useThreads=0 --with-shared=0 --with-debugging=0
+
+You will have to change the path to win32fe to point to your own petsc
+directory.
+
You must also build your own version of libxml, since MPICH is built
with the single threaded, static C library and libxml is built with
the multithreaded, dynamic library.
To build Gale, you can not run configure. Instead, first replace
-configure_vars with configure_vars_msvc. Then run scons with a
-command like
+configure_vars with con figure_vars_msvc. You will have to edit it to
+point it to where you put petsc. Then run scons
- python scons/scons.py -f SConstruct_msvc
+ python scons/scons.py
This defines a number of macros. Most of them are because MSVC does
not implement C99 and various POSIX headers.
More information about the cig-commits
mailing list