Re: [arts-users] Advise concerning ARTS computation speed

2016-07-12 Thread Oliver Lemke
Hi Pauline,

If you didn't pass any options to cmake at the time you compiled ARTS, then you 
have an executable with debug information because that's the default.

To get a non-debug build you have to explicitly set it to release mode as 
Richard explained:

cmake -DCMAKE_BUILD_TYPE=Release ..
make clean
make

cheers,
/oliver


> On 12 Jul 2016, at 17:29, Pauline Martinet  wrote:
> 
> Hi Richard,
> 
> Thanks for your advice.
> 
> I am using the debug mode only for atmlab (the matlab interface to call ARTS).
> 
> I do not think I compiled ARTS in any debug mode. Thus, I assume it should 
> not have an impact on the ARTS speed.
> 
> Best regards,
> 
> Pauline

___
arts_users.mi mailing list
arts_users.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi


Re: [arts-users] Advise concerning ARTS computation speed

2016-07-12 Thread Pauline Martinet
Dear Patrick and Stephan,

Thanks a lot for your kind help.

I managed to run ARTS with atmlab and a timer (Patrick's suggestion) as well as 
run ARTS directly
from the cfile created by ATMLAB (with a Debug mode). I assume this way we have 
a fair evaluation of
the computation time of the ARTS simulation.

I already use the "on-the-fly" option to compute the absorption which should be 
less time consuming
than the look-up table (from Patrick's advice). Patrick also mentioned that 
nothing should be critical if we use standard setting.

Stephan, do you have any example of not standard setting (to check if I have an 
option which increases the computation time of ARTS).

I also was successful to compute the Jacobians directly from an arts 
controlfile. But when I want to copy the output into a matrix
to write the values in an ASCII file (following the example TestWfuns.arts: 
Copy( Ja, jacobian ) I get the error message:
Method Copy needs input variable: jacobian

I will have a closer look to the users guide and I let you know what is unclear.

Thanks a lot again,

Best regards,

Pauline

- Météo-France - 
Dr. Pauline Martinet 
Chercheur CNRM/GMEI/LISA 
pauline.marti...@meteo.fr 
Fixe : +33 561079031 

- Mail original -
De: "Stefan Buehler" 
À: "Pauline Martinet" 
Cc: "Patrick Eriksson" , "domenico cimini" 
, "francesco deangelis1" 
, "arts users mi" 

Envoyé: Lundi 11 Juillet 2016 17:58:37
Objet: Re: Advise concerning ARTS computation speed

Dear Pauline,

> Could anyone help in explaining what is the function to compute Jacobians 
> from ARTS alone with atmlab ?

There are several example ARTS controlfiles with Jacobians included in the 
distribution, e.g.:
controlfiles/artscomponents/wfuns/TestWfuns.arts
controlfiles/classroom_exercises/exe3_jacobian/jacobian.arts

You find documentation on each individual ARTS method on the docserver:
http://arts.mi.uni-hamburg.de/docserver-trunk/
or if you start the docserver that comes with your ARTS distribution.

> When I have the cfile from ARTS, what is the terminal command to execute it 
> without any matlab interface ?

arts jacobian.arts

If your arts executable is not in your shell path, you have to give the right 
path, e.g.,

~/arts_build/src/arts jacobian.arts

jacobian.arts here is the name of the controlfile.

> (it is probably a silly question  but I really had troubles to understand how 
> to use ARTS without
> matlab this is why I never used).

Have you tried the ARTS user guide (available at radiativetransfer.org)? How to 
run ARTS is described in Chapter 1. Please let us know if anything there is 
unclear, so that we can improve the documentation.

Running ARTS without Matlab is really easier (and more thoroughly documented) 
than through the Matlab interface. (But so far lacking the capabilities to run 
retrievals, of course.)

Best wishes,

Stefan

___
arts_users.mi mailing list
arts_users.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi