Solved! For some reason the file
/usr/local/src/Math/sage-6.9/local/lib/python2.7/distutils/unixccompiler.py
is not behaving fine and it passes the '-R' option to mpicc instead of 
'-Wl,-R'. 
When 
/usr/local/src/Math/sage-6.9/local/lib/python
was not in the PYTHONPATH, then python was using the system version of 
unixccompiler.py and compiled fine, that explains the mystery I wrote about 
above.
All I did to fix the problem, although I know it's not the finest solution, 
is to replace the hassling occurence of '-R' in unixccompiler.py with 
'-Wl,-R' and everything worked fine. Gosh, I wish I had back my 4 hours of 
debugging, but better 4 than 6 :)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to