Quote:In fact my problem seems not to come from the licence file itself but from how to use parge.sav in batch mode within another idl project. I did not make modifition in my file since a long time so I do not have issues with parge. But I already observ this: sometimes after compilation everything works properly, sometimes not (as if the licence was not available). It seems to have a link with the fact I use or not parge in ihm mode before or not... but it is still very confuse for me. I could not find any explanation on the parge documentation I have about how to make a runtime distribution with parge inside. I have placed parge.sav and the rese_licence.pro in the idl project and generated it. Yesterday it works. Today I compile again and it doesnot work anymore (asking for a gcs file and licence not available)
Could you tell me how to proceed to compile my project in order to take into account the licence ?
If you want to include parge in another project, you may proceed as follows:
- restore parge.sav
- compile your project
- make the runtime distribution
- place the license beneath your binary
- place a dummy file named 'parge.sav' (or a link or a copy of your save file) beneath your binary
This should make it possible to use the license; the license file is searched by first searching for the parge.sav (file_which('parge.sav')) and then the license file should be on the same directory. The startup directory is added automatically to the idl search path whenever parge is startet; so you'd need possibly to call parge,/norun before starting your routines.