[CIG-SEISMO] Problem compiling SEISMIC_CPML, and some solutions

Sue Kientz sue at geodynamics.org
Tue Nov 3 09:54:01 PST 2009


Dear Fan,
See below for some solutions to your problem. Hope this helps.

Sue Kientz

-------- Original Message --------
Subject: 	Re: Fwd: A question after compiling
Date: 	Tue, 03 Nov 2009 13:22:34 +0100
From: 	Dimitri Komatitsch <dimitri.komatitsch at univ-pau.fr>
Organization: 	University of Pau, France
To: 	Sue Kientz <sue at geodynamics.org>
CC: 	Roland Martin <roland.martin at univ-pau.fr>
References: 	<COL120-W341333D52FB44E42748859C0B30 at phx.gbl> 
<84368C26-1337-4D04-BC72-F334C4A2DBB8 at geodynamics.org> 
<20091103102053.6tz2f6bigwwcwckw at webmail.univ-pau.fr>



Hi Sue,

The solution to this problem is either to install the free ImageMagick
package for Linux, which contains the "convert" command :

yum install ImageMagick

or

apt-get install ImageMagick


or else comment the line(s) that start with:

"call system(... "

in the source code.

Both options work fine.

Dimitri.


Roland Martin wrote:
> Dear Sue,
> 
> This mean that the Unix/Linux OS of this user does not have support the 
> Unix/Linux convert command. So he must comment the lines where 'convert 
> command' appears and the related system callings. Or may he should take 
> another linux OS where the 'convert' command is supported.
> 
> Any way, the code works if the call systems are commented in the code.
> 
> Cheers
> Quoting Sue Kientz <sue at geodynamics.org>:
> 
>> Hi,
>> See below. Perhaps the answer to his problem could be cc'd to cig-
>> seismo, unless it's a problem we're just going to fix in one of the
>> programs ?
>>
>> Sue
>>
>> Begin forwarded message:
>>
>>> From: Fan Jiang <jiangfan0904 at hotmail.com>
>>> Date: November 2, 2009 2:11:23 PM PST
>>> To: <sue at geodynamics.org>
>>> Subject: A question after compiling
>>>
>>>
>>> Dear Dr. Sue,
>>>
>>> Thank you for your information.
>>>
>>> I downloaded the newest version, and compile successfully. When I   
>>> run the file, after some calculation, the error message come put:
>>>
>>> "sh: convert: not found"
>>>
>>> what's this mean?
>>>
>>> Thank you for your help.
>>>
>>> Fan Jiang
>>> Texas Tech University
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> From: sue at geodynamics.org
>>> To: cig-seismo at geodynamics.org
>>> Date: Mon, 2 Nov 2009 11:33:23 -0800
>>> Subject: [CIG-SEISMO] SEISMIC_CPML Version 1.1.0 released
>>>
>>> Dear all,
>>>
>>> CIG is pleased to announce the release of SEISMIC_CPML Version   
>>> 1.1.0, which is a set of eight open-source Fortran90 programs to   
>>> solve the two-dimensional or three-dimensional isotropic or   
>>> anisotropic elastic, viscoelastic or poroelastic wave equation  
>>> using  a finite-difference method with Convolutional Perfectly  
>>> Matched  Layer (C-PML) conditions.
>>>
>>> It is developed by Dimitri Komatitsch and Roland Martin from   
>>> University of Pau, France.
>>>
>>> The source code can be downloaded from  
>>> http://www.geodynamics.org/cig/software/packages/seismo/seismic_cpml   .
>>>
>>> This new release adds support for viscoelastic or poroelastic  
>>> media.  The package therefore now contains eight programs instead  of 
>>> six.
>>>
>>> More details can be found at  
>>> http://web.univ-pau.fr/~dkomati1/seismic_cpml.html  .
>>>
>>>
>>> Sue Kientz
>>> ---------------------------
>>> Technical Writer/Web Manager
>>> Computational Infrastructure for Geodynamics (CIG)
>>>    http://www.geodynamics.org/
>>> sue at geodynamics.org
>>> ofc: (626) 395-1694
>>> cell: (626) 616-1955
>>> skype: suekientz
>>>   ~Metaphors Be With You~
>>>
>>> Windows 7: It works the way you want. Learn more.
> 
> 
> 
> 

-- 
Dimitri Komatitsch - dimitri.komatitsch aT univ-pau.fr
Professor, University of Pau, Institut universitaire de France,
CNRS and INRIA Magique3D, France   http://www.univ-pau.fr/~dkomati1


-- 
Sue Kientz

Technical Writer/Web Manager
Computational Infrastructure for Geodynamics (CIG)
    http://www.geodynamics.org/
sue at geodynamics.org
ofc: (626) 395-1694   
cell: (626) 616-1955
skype: suekientz
    ~Metaphors Be With You~




More information about the CIG-SEISMO mailing list