Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Environment variable

This only affects the environment when the project is built. You need to set the environment variable on the Environment tab in the launch configuration when running the program.

Greg

On Nov 7, 2012, at 4:05 AM, Daniel Harenberg <dan.harenberg@xxxxxxxxx> wrote:

> Hi
> 
> I am trying to set an environment variable (specifically, OMP_NUM_THREADS) in Photran. But when I do this in Project Properties -> Fortran Build -> Environment , it doesn't seem to work. The program does not read the environment variable. The same program does when run on the command line. Any hints?
> 
> Thanks
> 
> Daniel
> _______________________________________________
> photran mailing list
> photran@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/photran



Back to the top