[Clas_offline] scons trouble

Arman Frasier frasier at jlab.org
Wed Oct 13 12:40:56 EDT 2010


Hi all,

This issue cropped up because the STABLE link was missing for about 2
hours this morning while I was implementing the new nightly build system
and upgrading the version of the STABLE build. All should be well again.


-- 
Arman Frasier
frasier at jlab.org

> Hi Puneet,
> Yes, the problem looks like the PYTHONPATH environment variable is not set
> to the right place. It should have this path in it:
>     /group/clas/builds/64bit/STABLE
> FYI, this is where the "build_system" is located. In the the build_system
> directory are several python scripts which make up the interface used to
> build clas software with SCons.
>
> This is probably a result of the environment64.csh file not being correct.
> Keep in mind that if the build_system directory is not found, python will
> look for it in the current working directory, so making a symbolic link to
> the build_system directory where you want to compile your code is
> equivalent
> to setting the PYTHONPATH variable.
> --
> Johann Goetz
> jgoetz at ucla.edu
> UCLA Dept. Physics & Astronomy
> Nefkens Group
>
> On Wed, Oct 13, 2010 at 7:34 AM, Puneet Khetarpal <puneetk at jlab.org>
> wrote:
>
>> Hi Offliners,
>>
>> I'm running the /group/clas/builds/64bit/environment64.csh environment
>> on ifarml6. I execute the following command on one of my sconstruct
>> files and am getting the following error:
>>
>> $ source /group/clas/builds/64bit/environment64.csh
>> $ scons
>> scons: Reading SConscript files ...
>> ImportError: No module named build_system:
>>  File "/w/work5806/puneetk/toftests/p2p/code/sconstruct", line 1:
>>    from build_system import environment
>>
>> Now if I execute the /group/clas/builds/32bit/environment32.csh
>> environment on ifarml6 and execute scons, I get the following:
>>
>> $ source /group/clas/builds/32bit/environment32.csh
>> $ scons
>> scons: Reading SConscript files ...
>> scons: done reading SConscript files.
>> scons: Building targets ...
>> scons: building associated VariantDir targets: build/obj
>> Building: p2p.C   --->   p2p.o
>> Building: p2p.o   --->   p2p_calib
>> scons: done building targets.
>>
>> Any ideas what could cause this problem?
>>
>> Thanks,
>> Puneet
>>
>> "No word is true until it is eaten" - 36 Lessons of Vivec, Sermon 27
>> _______________________________________________
>> Clas_offline mailing list
>> Clas_offline at jlab.org
>> https://mailman.jlab.org/mailman/listinfo/clas_offline
>>
> _______________________________________________
> Clas_offline mailing list
> Clas_offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/clas_offline





More information about the Clas_offline mailing list