[ot-users] speed up import, do not check configuration file

Julien Schueller schueller at phimeca.com
Tue Feb 14 11:20:07 CET 2017

> De: "roy" <roy at cerfacs.fr>
> À: "users" <users at openturns.org>
> Envoyé: Mardi 14 Février 2017 10:45:55
> Objet: [ot-users] speed up import, do not check configuration file

> Hi,

> I have noticed that the import was taking some time.
> Is there a way to speed things up?

> I was wondering, if there is a init that makes things slow like checking for the
> configuration file.
> By the way, how to avoid this check and use directly default parameters?

> WRN - The configuration file has not been found, using default parameters.

Hello Roy, 

What could make the first import slow is usually the byte-code compilation, not the config file parsing, 
In you case the configuration file is not found, so it's not even parsed at all. 

Could you tell us more how you installed the library ? What version, platform etc. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openturns.org/pipermail/users/attachments/20170214/76784b77/attachment.html>

More information about the users mailing list