This is indeed a strange error. Can you modify the py_setup.sh script and remove the redirects to /dev/null and rerun make install in that directory? Then post the resulting error messages here.
The error output from the failed module imports is the only way I'd be able to diagnose what's happening.
It's also possible that the bundled Python is not compiling properly. If this is the case, you should remove all of the amber Python parts (remove the whole bin and lib directories in AMBERHOME) and reconfigure with -nopython.
--
Jason Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
352-392-4032
On Nov 22, 2011, at 5:27 AM, Vlad Cojocaru <vlad.cojocaru.mpi-muenster.mpg.de> wrote:
> Dear ambers,
>
> I recently updated the operating system to openSUSE 12.1 and I am
> recompiling AMBER 11 with AmberTools 1.5 ...
> I decided to do it from scratch with all new bugfixes (the tree is clean).
>
> After applying all bugfixes for AT (downloaded today), the compilation
> of AT fails with the error:
> ./py_setup.sh
> Using AmberTools' python
> Error importing cpinutil.py python modules! cpinutil will not work.
> make[1]: *** [python] Error 1
> make[1]: Leaving directory
> `/usr/local/build-apps/amber/11-1.5/AmberTools/src/etc'
> make: *** [serial] Error 2
>
> I searched the archive and it seemed that other people went through
> similar troubles ... however not exactly the same, as in those reported
> cases the error either did not come during the AT compilation (but
> rather after applying the python script before A11 compilation) or it
> was accompanied by other errors. The solution proposed to start with a
> clean tree does not apply to me as I did exactly that.
>
> Is there a known fix for this error?
>
> Architecture: x86_64 , AMD, gnu 4.6.2 (configure works just fine),
> python 2.7.2
>
> Thank you
>
> Best wishes
> Vlad
>
>
> --
> Dr. Vlad Cojocaru
> Max Planck Institute for Molecular Biomedicine
> Department of Cellular and Developmental Biology
> Roentgenstrasse 20
> 48149 Muenster, Germany
> tel: +49-251-70365-324
> fax: +49-251-70365-399
> email: vlad.cojocaru[at]mpi-muenster.mpg.de
>
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Nov 22 2011 - 04:30:04 PST