[CIG-LONG] Compiling Gale 2 on Ubuntu 16.04

John Naliboff jbnaliboff at ucdavis.edu
Wed Nov 9 17:42:16 PST 2016


Hi David,

Long story short, I strongly recommend not using GALE.

Gale is currently not compiling successfully on the CIG automated build 
machine (ubuntu 14.04) and we officially stopped supporting it a while 
ago.  Without going into detail, there is a reason for this and there 
are better options available.

If you are accustomed to using GALE and it is a good match for the 
processes you are examining, my first recommendation is to check out 
Underworld2 (http://www.underworldcode.org/).

GALE was originally based off an earlier version of Underworld, so the 
transition from GALE to Underworld2 should not be too much of a hassle.  
Underworld2 is also a significant improvement over GALE in terms of the 
user interface and underlying code.

Depending on what kind of problem you want to examine, the CIG code 
ASPECT may also be suitable.  I've been testing how ASPECT does with 
lithospheric deformation problems and the results so far are very 
encouraging.  If you would like to give ASPECT a shot, feel free to 
email me independently or via this email list so we can discuss it further.

Additional 3D codes for modeling lithospheric deformation exist, but I'm 
not sure if they are officially available yet.  Members of the 
community, please chime in with more options or suggestions.

Cheers,
John

*************************************************
John Naliboff
Assistant Project Scientist, CIG
Earth & Planetary Sciences Dept., UC Davis

On 11/09/2016 04:23 PM, David Boutelier wrote:
>
> Hi,
>
>
> I am trying to compile Gale-2_0_1 on a Ubuntu 16.04 workstation to get 
> the benefit of parallel acceleration.
>
>
> I do have the libxml2 library but the configure script does not find it.
>
>
> This where my libxml is:
>
>
> david at CG106-3XZ3TF2:/usr/lib/x86_64-linux-gnu$ pwd
> /usr/lib/x86_64-linux-gnu
>
> david at CG106-3XZ3TF2:/usr/lib/x86_64-linux-gnu$ ls -la libxml2*
> -rw-r--r-- 1 root root 2947916 Jun  4 02:57 libxml2.a
> lrwxrwxrwx 1 root root      16 Jun  4 02:57 libxml2.so -> libxml2.so.2.9.3
> lrwxrwxrwx 1 root root      16 Oct 21 20:37 libxml2.so.2 -> 
> libxml2.so.2.9.3
> -rw-r--r-- 1 root root 1805560 Jun  4 02:57 libxml2.so.2.9.3
>
> So I started compiling with the argument libxml2-lib-dir like this
>
>
> david at CG106-3XZ3TF2:~/Gale-2_0_1$ ./configure.sh 
> --libxml2-lib-dir='/usr/lib/x86_64-linux-gnu'
> scons: Reading SConscript files ...
> Checking whether the C++ compiler worksyes
> Checking for package libXML2... no
>
> ****  ERROR ****
> Failed to locate required package libXML2.
> Details in 'config.log'
>
>
> ************************************
> If you require help, send the files:
> config.log
> config.cfg (if it exists)
> to: cig-long at geodynamics.org
>
>
> and this is the content of the config.log
>
>
> file /home/david/Gale-2_0_1/config/config.py,line 66:
> Configure(confdir = .sconf_temp)
>
> Configuring using:
>   config/scons/scons.py --config=force -f SConfigure 
> --libxml2-lib-dir=/usr/lib/x86_64-linux-gnu
>
> file /home/david/Gale-2_0_1/config/cxx.py,line 11:
> Configure(confdir = .sconf_temp)
> scons: Configure: Checking whether the C++ compiler works
> .sconf_temp/conftest_0.cpp <-
>   |
>   |int main()
>   |{
>   |    return 0;
>   |}
>   |
> g++ -o .sconf_temp/conftest_0.o -c .sconf_temp/conftest_0.cpp
> scons: Configure: yes
>
>
>   Failed to find static or shared libraries for 'libXML2'.
>   Static missing: ['xml2']
>   Shared missing: ['xml2']
>   Looked in: ['/usr/lib']
>   Failed to find static or shared libraries for 'libXML2'.
>   Static missing: ['xml2']
>   Shared missing: ['xml2']
>   Looked in: ['/usr/lib']
>   Failed to find static or shared libraries for 'libXML2'.
>   Static missing: ['xml2']
>   Shared missing: ['xml2']
>   Looked in: ['/usr/lib64']
>   Failed to find static or shared libraries for 'libXML2'.
>   Static missing: ['xml2']
>   Shared missing: ['xml2']
>   Looked in: ['/usr/lib64']
>   Failed to find static or shared libraries for 'libXML2'.
>   Static missing: ['xml2']
>   Shared missing: ['xml2']
>   Looked in: ['/usr/local/lib']
>   Failed to find static or shared libraries for 'libXML2'.
>   Static missing: ['xml2']
>   Shared missing: ['xml2']
>   Looked in: ['/usr/local/lib']
>   Failed to find static or shared libraries for 'libXML2'.
>   Static missing: ['xml2']
>   Shared missing: ['xml2']
>   Looked in: ['/usr/local/lib64']
>   Failed to find static or shared libraries for 'libXML2'.
>   Static missing: ['xml2']
>   Shared missing: ['xml2']
>   Looked in: ['/usr/local/lib64']
>
>
> I am perplexed. Can you guide me ? What I am missing?
>
>
> Thanks
>
> David
>
> ------------------------------------------------------------------------
> *DAVID BOUTELIER*
> School of Environmental and Life Sciences,
> The University of Newcastle, University Drive, Callaghan 2304 NSW
>
>
>
>
> _______________________________________________
> CIG-LONG mailing list
> CIG-LONG at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-long

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-long/attachments/20161109/4164f057/attachment-0001.html>


More information about the CIG-LONG mailing list