Re: [petsc-users] Reg : Petsc installation failed
Please keep the conversation on list. [or use petsc-maint] On Fri, 19 Jun 2015, Manish Kumar K wrote:
Hi Satish,
I did as per your following instructions mentioned below for PETSC to install on my system using MS compilers , For some reasons its flagging me the same error . I have attached configure.log file with this email and snap shot of error in bash.
Steps followed 1)I installed Cygwin freshly and used latest PETSc release 3.6.
Hm - I see latest cygwin as: CYGWIN_NT-6.1 ps4 2.0.4(0.287/5/3) 2015-06-09 12:22 x86_64 Cygwin However configure.log has: ('CYGWIN_NT-6.1', 'EESBLRW106', '2.0.2(0.287/5/3)', '2015-05-08 17:00', 'x86_64', '') a slightly older version. Are you sure you've install a fresh cygwin? Also can you try the following? Copy/paste and e-mail the complete output. cd src/benchmarks /cygdrive/d/Software/Cygwin64/package/petsc/bin/win32fe/win32fe cl -c sizeof.c echo $? /cygdrive/d/Software/Cygwin64/package/petsc/bin/win32fe/win32fe cl -o sizeof.exe sizeof.c echo $? ./sizeof.exe Satish ----------- balay@ps4 ~/petsc/src/benchmarks $ ~/petsc/bin/win32fe/win32fe.exe cl -c sizeof.c sizeof.c balay@ps4 ~/petsc/src/benchmarks $ echo $? 0 balay@ps4 ~/petsc/src/benchmarks $ ~/petsc/bin/win32fe/win32fe.exe cl -o sizeof.exe sizeof.o balay@ps4 ~/petsc/src/benchmarks $ echo $? 0 balay@ps4 ~/petsc/src/benchmarks $ ./sizeof.exe long double : 8 double : 8 int : 4 char : 1 short : 2 long : 4 long long : 8 int * : 8 size_t : 8 balay@ps4 ~/petsc/src/benchmarks $
And followed same command as per the instructions mentioned at this link
http://www.mcs.anl.gov/petsc/documentation/installation.html#windows
Kindly help me out in this .
Let me know if I missed anything.
Regards Manish K _______________________________________________________________________________________________________________________________________
-----Original Message----- From: Satish Balay [mailto:[email protected]] Sent: Thursday, June 18, 2015 7:45 PM To: Manish Kumar K Cc: [email protected] Subject: Re: [petsc-users] Reg : Petsc installation failed
Executing: /package/petsc/petsc-3.5.3/bin/win32fe/win32fe cl -c -o /cygdrive/c/Users/20055335/AppData/Local/Temp/petsc-leuQLz/config.setCompilers/conftest.o -I/cygdrive/c/Users/20055335/AppData/Local/Temp/petsc-leuQLz/config.setCompilers /cygdrive/c/Users/20055335/AppData/Local/Temp/petsc-leuQLz/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 50176 <<<<<
For some reason the compiler is returning error codes. Just to eliminate cygwin from the equation - can you do the following:
1. reboot the machine 2. [make sure you don't start any cygwin processes] 3. run cygwin setup [it defaults to update mode] - and run it to completion. It should run rebaseall at the end. 4. Use petsc-3.6
And rerun configure [from compiler-cmd,bash per instructions]
Satish
On Thu, 18 Jun 2015, Manish Kumar K wrote:
Dear PETSc Team,
I am configuring and trying to install PETSc libraries using Cygwin shell for windows
I checked instructions at:
http://www.mcs.anl.gov/petsc/documentation/installation.html#windows
And invoked following command
Step 1:
./configure --with-cc='win32fe cl' --with-fc=0 --download-f2cblaslapack=1
C compiler you provided with -with-cc=win32fe cl does not work. Cannot compile C with /package/petsc/petsc-3.5.3/bin/win32fe/win32fe cl.
I am sending you the log file for this .
Please help me out in this .
Regards
Manish K
[https://relayq.larsentoubro.com/DigitalSignature2015.jpg]
L&T Technology Services Ltd
www.LntTechservices.com<http://www.lnttechservices.com/>
This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
[https://relayq.larsentoubro.com/DigitalSignature2015.jpg] L&T Technology Services Ltd
www.LntTechservices.com<http://www.lnttechservices.com/>
This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
participants (1)
-
Satish Balay