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 


----- Météo-France ----- 
Dr. Pauline Martinet 
Chercheur CNRM/GMEI/LISA 
[email protected] 
Fixe : +33 561079031 

----- Mail original -----

De: "Richard Larsson" <[email protected]> 
À: "Pauline Martinet" <[email protected]> 
Cc: "Stefan Buehler" <[email protected]>, "francesco deangelis1" 
<[email protected]>, "arts users mi" 
<[email protected]>, "domenico cimini" 
<[email protected]> 
Envoyé: Mardi 12 Juillet 2016 14:09:17 
Objet: Re: [arts-users] Advise concerning ARTS computation speed 

Just some input, 

I have not followed your discussion in detail but ARTS is slow in debug mode. I 
would suggest compiling with 

cmake -DCMAKE_BUILD_TYPE=Release .. 
make clean 
make 

if you intend to make it a bit faster. I have no real tests ready but the 
standard "make check" tests are like 20% faster that way. There is a lot of 
checks that are only important if you are a programmer running ARTS in the 
debug that are ignored otherwise. However, this 20% speed-gain is not 
universal. I suspect they are found specifically in the interpolation routines, 
where we do not want to break things. I am not sure if you will gain more or 
less time. 

//Richard 

2016-07-12 13:54 GMT+02:00 Pauline Martinet < [email protected] > : 


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 
[email protected] 
Fixe : +33 561079031 

----- Mail original ----- 
De: "Stefan Buehler" < [email protected] > 
À: "Pauline Martinet" < [email protected] > 
Cc: "Patrick Eriksson" < [email protected] >, "domenico cimini" < 
[email protected] >, "francesco deangelis1" < 
[email protected] >, "arts users mi" < 
[email protected] > 
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 
[email protected] 
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi 





_______________________________________________
arts_users.mi mailing list
[email protected]
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi

Reply via email to