[petsc-users] configure problems

Dominik Szczerba dominik at itis.ethz.ch
Mon Jul 19 17:29:26 CDT 2010


Thanks a lot for a useful hint. I have reinstalled cygwin, now with
the older python (2.5.x instead of 2.6.x). The configure process now
starts, but terminates complaining about downloading mpich. I will
look into manual installation tomorrow.
Meanwhile, what do you make of CMake? It has been adopted by several
large packages...
What steps would I have to take to port Petsc to Cmake (not supporting
downloading and compilation of external packages in the initial
attempt)?
Regards,
Dominik


On Sun, Jul 18, 2010 at 11:34 PM, Matthew Knepley <knepley at gmail.com> wrote:
> This is a Cygwin Python error (a fork() fails). I would consider
> reinstalling
> Cygwin. In my experience, it is not very stable. I wish we did not have to
> use it.
>    Matt
>
> On Sun, Jul 18, 2010 at 4:10 PM, Dominik Szczerba <dominik at itis.ethz.ch>
> wrote:
>>
>> (but the error stays the same)
>>
>> On Sun, Jul 18, 2010 at 11:10 PM, Dominik Szczerba <dominik at itis.ethz.ch>
>> wrote:
>> > I am sorry I pasted the wrong configure command, the correct one does
>> > have --with-cc='win32fe cl' in addition.
>> >
>> > On Sun, Jul 18, 2010 at 10:58 PM, Dominik Szczerba
>> > <dominik at itis.ethz.ch> wrote:
>> >> Dear all,
>> >>
>> >> I am trying to configure petsc 3.1p3 under Windows 7 64 bit using MSVC
>> >> 2010 Express. I get the errors listed below. According to google this
>> >> is quite exotic. I will be grateful for any hints.
>> >> Regards.
>> >> Dominik
>> >>
>> >> $ ./config/configure.py PETSC_DIR=$PWD PETSC_ARCH=linux-gnu-c-release
>> >> --download-f-blas-lapack=1 --download-mpich=1 --download-hypre=1
>> >> --with-parmetis=1 --down
>> >> load-parmetis=1 --with-x=0 --with-debugging=0
>> >>
>> >> ===============================================================================
>> >>             Configuring PETSc to compile on your system
>> >>
>> >> ===============================================================================
>> >> TESTING: configureExternalPackagesDir from
>> >> config.framework(config/BuildSystem/config/framework.py:829)
>> >> TESTING: configureDebuggers from
>> >> PETSc.utilities.debuggers(config/PETSc/utilities/debuggers.py:22)
>> >> TESTING: configureMake from
>> >> PETSc.utilities.Make(config/PETSc/utilities/Make.py:21)
>> >> TESTING: configureCLanguage from
>> >> PETSc.utilities.languages(config/PETSc/utilities/languages.py:43)
>> >> TESTING: configureLanguageSupport from
>> >> PETSc.utilities.languages(config/PETSc/utilities/languages.py:49)
>> >> TESTING: configureExternC from
>> >> PETSc.utilities.languages(config/PETSc/utilities/languages.py:66)
>> >> TESTING: configureFortranLanguage from
>> >> PETSc.utilities.languages(config/PETSc/utilities/languages.py:72)
>> >> TESTING: configureMkdir from
>> >> config.programs(config/BuildSystem/config/programs.py:21)
>> >> TESTING: configurePrograms from
>> >> config.programs(config/BuildSystem/config/programs.py:43)
>> >>      0 [main] python 216 C:\cygwin\bin\python.exe: *** fatal error -
>> >> unable to remap \\?\C:\cygwin\lib\python2.6\lib-dynload\time.dll to
>> >> same address as parent
>> >> : 0x360000 != 0x3C0000
>> >>      0 [main] python 4740 fork: child 216 - died waiting for dll
>> >> loading, errno 11
>> >> Exception AttributeError: AttributeError("Popen3 instance has no
>> >> attribute 'pid'",) in <bound method Popen3.__del__ of <popen2.Popen3
>> >> instance at 0x7eb63f2c>> i
>> >> gnored
>> >>
>> >> *******************************************************************************
>> >>                    UNABLE to EXECUTE BINARIES for config/configure.py
>> >>
>> >> -------------------------------------------------------------------------------
>> >> [Errno 11] Resource temporarily unavailable
>> >>
>> >> *******************************************************************************
>> >>
>> >
>
>
>
> --
> What most experimenters take for granted before they begin their experiments
> is infinitely more interesting than any results to which their experiments
> lead.
> -- Norbert Wiener
>


More information about the petsc-users mailing list