Hi Puneet,<br>Yes, the problem looks like the PYTHONPATH environment variable is not set to the right place. It should have this path in it:<br> /group/clas/builds/64bit/STABLE<br>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.<br>
<br>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.<br>
-- <br>Johann Goetz<br><a href="mailto:jgoetz@ucla.edu">jgoetz@ucla.edu</a><br>UCLA Dept. Physics & Astronomy<br>Nefkens Group<br><br><div class="gmail_quote">On Wed, Oct 13, 2010 at 7:34 AM, Puneet Khetarpal <<a href="mailto:puneetk@jlab.org">puneetk@jlab.org</a>> wrote:<br>
<blockquote class="gmail_quote">Hi Offliners,<br>
<br>
I'm running the /group/clas/builds/64bit/environment64.csh environment<br>
on ifarml6. I execute the following command on one of my sconstruct<br>
files and am getting the following error:<br>
<br>
$ source /group/clas/builds/64bit/environment64.csh<br>
$ scons<br>
scons: Reading SConscript files ...<br>
ImportError: No module named build_system:<br>
File "/w/work5806/puneetk/toftests/p2p/code/sconstruct", line 1:<br>
from build_system import environment<br>
<br>
Now if I execute the /group/clas/builds/32bit/environment32.csh<br>
environment on ifarml6 and execute scons, I get the following:<br>
<br>
$ source /group/clas/builds/32bit/environment32.csh<br>
$ scons<br>
scons: Reading SConscript files ...<br>
scons: done reading SConscript files.<br>
scons: Building targets ...<br>
scons: building associated VariantDir targets: build/obj<br>
Building: p2p.C ---> p2p.o<br>
Building: p2p.o ---> p2p_calib<br>
scons: done building targets.<br>
<br>
Any ideas what could cause this problem?<br>
<br>
Thanks,<br>
Puneet<br>
<br>
"No word is true until it is eaten" - 36 Lessons of Vivec, Sermon 27<br>
_______________________________________________<br>
Clas_offline mailing list<br>
<a href="mailto:Clas_offline@jlab.org">Clas_offline@jlab.org</a><br>
<a href="https://mailman.jlab.org/mailman/listinfo/clas_offline">https://mailman.jlab.org/mailman/listinfo/clas_offline</a><br>
</blockquote></div><br><br>