On Wed, Nov 16, 2011 at 1:31 PM, Yixun Liu <yxliuwm at gmail.com> wrote:
> Hi, > Please see the attachment. > Your compiler does not work (it returns error code from the compile). Perhaps you have not correctly set environment variables? Matt > > Yixun > > On Wed, Nov 16, 2011 at 1:00 PM, <petsc-users-request at mcs.anl.gov> wrote: > >> Send petsc-users mailing list submissions to >> petsc-users at mcs.anl.gov >> >> To subscribe or unsubscribe via the World Wide Web, visit >> https://lists.mcs.anl.gov/mailman/listinfo/petsc-users >> or, via email, send a message with subject or body 'help' to >> petsc-users-request at mcs.anl.gov >> >> You can reach the person managing the list at >> petsc-users-owner at mcs.anl.gov >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of petsc-users digest..." >> >> >> Today's Topics: >> >> 1. Re: configuration error on Windows with VS2005 (Satish Balay) >> 2. Re: ERROR Arguments are incompatible in MatSetValues() >> (Matthew Knepley) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Wed, 16 Nov 2011 10:21:29 -0600 (CST) >> From: Satish Balay <balay at mcs.anl.gov> >> Subject: Re: [petsc-users] configuration error on Windows with VS2005 >> To: PETSc users list <petsc-users at mcs.anl.gov> >> Message-ID: <alpine.LFD.2.02.1111161019310.2218 at asterix> >> Content-Type: TEXT/PLAIN; charset=US-ASCII >> >> Please send the corresponding configure.log to petsc-maint at mcs.anl.gov >> >> Satish >> >> On Wed, 16 Nov 2011, Yixun Liu wrote: >> >> > Hi, >> > I have a configuration error as I install PETSc. >> > >> > According to the installation instructions, I first *Setup cygwin bash >> > shell with Working Compilers:* >> > >> > C:\Program Files (x86)\Microsoft Visual Studio >> 8\VC>c:\cygwin\bin\bash.exe >> > --login >> > >> > I got the following message: >> > >> > Your group is currently "mkpasswd". This indicates that your >> > gid is not in /etc/group and your uid is not in /etc/passwd. >> > The /etc/passwd (and possibly /etc/group) files should be rebuilt. >> > See the man pages for mkpasswd and mkgroup then, for example, run >> > mkpasswd -l [-d] > /etc/passwd >> > mkgroup -l [-d] > /etc/group >> > Note that the -d switch is necessary for domain users. >> > >> > Then I run the commands: >> > mkpasswd -l > /etc/passwd and >> > mkpasswd -l > /etc/group >> > >> > at last, as I run command cl, I got message: >> > >> > Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 >> for >> > 80x86 >> > Copyright (C) Microsoft Corporation. All rights reserved. >> > usage: cl [ option... ] filename... [ /link linkoption... ] >> > >> > So, I think it works now. >> > >> > Then I configure PETSc with the following command, but get the error "C >> > compiler you provided with -with-cc=win32fe cl does not work". >> > >> > >> > liuy14 at CC1DR1C515W05 /cygdrive/c/Yixun/VC/petsc-3.2-p5# ./configure >> > --with-cc='win32fe cl' --with-fc='win32fe ifort' --with-cxx='win 32fe >> cl' >> > --download-f-blas-lapack=1 >> > >> > >> =============================================================================== >> > Configuring PETSc to compile on your system >> > >> =============================================================================== >> > TESTING: configureExternalPackagesDir from >> > config.framework(config/BuildSystem/c >> > TESTING: configureDebuggers from >> > PETSc.utilities.debuggers(config/PETSc/utilitie >> > TESTING: configureCMake from >> > PETSc.utilities.CMake(config/PETSc/utilities/CMake. >> > TESTING: configureCLanguage from >> > PETSc.utilities.languages(config/PETSc/utilitie >> > TESTING: configureLanguageSupport from >> > PETSc.utilities.languages(config/PETSc/ut >> > TESTING: configureExternC from >> > PETSc.utilities.languages(config/PETSc/utilities/ >> > TESTING: configureFortranLanguage from >> > PETSc.utilities.languages(config/PETSc/ut >> > TESTING: configureMake from >> > config.programs(config/BuildSystem/config/programs.p >> > TESTING: configureMkdir from >> > config.programs(config/BuildSystem/config/programs. >> > TESTING: configurePrograms from >> > config.programs(config/BuildSystem/config/progra >> > TESTING: configureMercurial from >> > config.sourceControl(config/BuildSystem/config/ >> > TESTING: configureCVS from >> > config.sourceControl(config/BuildSystem/config/source >> > TESTING: configureSubversion from >> > config.sourceControl(config/BuildSystem/config >> > TESTING: configureDirectories from >> > PETSc.utilities.petscdir(config/PETSc/utiliti >> > TESTING: configureExternalPackagesDir from >> > PETSc.utilities.petscdir(config/PETSc >> > TESTING: configureInstallationMethod from >> > PETSc.utilities.petscdir(config/PETSc/ >> > TESTING: configureETags from >> > PETSc.utilities.Etags(config/PETSc/utilities/Etags. >> > TESTING: getDatafilespath from >> > PETSc.utilities.dataFilesPath(config/PETSc/utilit >> > TESTING: resetEnvCompilers from >> > config.setCompilers(config/BuildSystem/config/se >> > TESTING: checkMPICompilerOverride from >> > config.setCompilers(config/BuildSystem/co >> > TESTING: checkVendor from >> > config.setCompilers(config/BuildSystem/config/setCompi >> > TESTING: checkInitialFlags from >> > config.setCompilers(config/BuildSystem/config/se >> > TESTING: checkCCompiler from >> > config.setCompilers(config/BuildSystem/config/setCo >> > File >> > >> "/cygdrive/c/Yixun/VC/petsc-3.2-p5/config/BuildSystem/config/setCompilers >> > .py", line 508, in checkCCompiler >> > self.checkCompiler('C') >> > File >> > >> "/cygdrive/c/Yixun/VC/petsc-3.2-p5/config/BuildSystem/config/setCompilers >> > .py", line 410, in checkCompiler >> > raise RuntimeError(msg) >> > >> ******************************************************************************* >> > UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log >> for >> > detail >> > s): >> > >> ------------------------------------------------------------------------------- >> > C compiler you provided with -with-cc=win32fe cl does not work >> > >> ******************************************************************************* >> > >> > >> > Thank you for your help. >> > >> > Best, >> > >> > Yixun >> > >> >> >> >> ------------------------------ >> >> Message: 2 >> Date: Wed, 16 Nov 2011 11:33:13 -0600 >> From: Matthew Knepley <petsc-maint at mcs.anl.gov> >> Subject: Re: [petsc-users] ERROR Arguments are incompatible in >> MatSetValues() >> To: PETSc users list <petsc-users at mcs.anl.gov> >> Message-ID: >> <CAMYG4GmyUeoi8DVnu-p3gWdQgyeqdB45juT7mNJs_== >> Zk4Cf-Q at mail.gmail.com> >> Content-Type: text/plain; charset="iso-8859-1" >> >> On Wed, Nov 16, 2011 at 10:09 AM, PEREZ CERQUERA MANUEL RICARDO < >> manuel.perezcerquera at polito.it> wrote: >> >> > Hi all, >> > >> > I have a petsc code which works for a certain number of unknowns, I mean >> > it works with a matrix of 12000X 12000 elements, then when I increase >> the >> > Number of unknowns to 25000 X 25000 I got this error at certain point in >> > one of the MatSetValues() function, I don't know which are the possible >> > causes, I have enough memory to handle it. Could you give me some ideas >> of >> > whats going on? . Thanks >> > >> >> It appears that you are overflowing the integer offsets. I recommend >> trying >> this either: >> >> a) With a 64-bit OS >> >> or if you cannot upgrade the machine >> >> b) Configuring with --with-64-bit-indices >> >> Thanks, >> >> Matt >> >> >> > [0]PETSC ERROR: Fortran Pause - Enter command<CR> or <CR> to continue. >> > --------------------- Error Message >> ------------------------------**------ >> > [0]PETSC ERROR: Arguments are incompatible! >> > [0]PETSC ERROR: Memory regions overlap: either use PetscMemmov() >> > or make sure your copy regions and lengths are correct. >> > Length (bytes) 1217067760 first address -844745856 second >> > address >> > -1712377200! >> > [0]PETSC ERROR: ------------------------------** >> > ------------------------------**---- >> > -------- >> > [0]PETSC ERROR: Petsc Release Version 3.2.0, Patch 5, Sat Oct 29 >> 13:45:54 >> > CDT 20 >> > 11 >> > [0]PETSC ERROR: See docs/changes/index.html for recent updates. >> > [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting. >> > [0]PETSC ERROR: See docs/index.html for manual pages. >> > [0]PETSC ERROR: ------------------------------** >> > ------------------------------**---- >> > -------- >> > [0]PETSC ERROR: C:\Documents and Settings\d022117\Desktop\** >> > MPIRunsPatrju\patreju1 >> > .1.exe on a arch-mswi named GVSRV by d022117 Tue Nov 15 19:00:13 2011 >> > [0]PETSC ERROR: Libraries linked from /home/d022117/petsc-3.2-p5/** >> > arch-mswin-cxx- >> > debug/lib >> > [0]PETSC ERROR: Configure run at Mon Nov 7 13:06:56 2011 >> > [0]PETSC ERROR: Configure options --with-cc="win32fe cl" >> > --with-fc="win32fe ifor >> > t" --with-cxx="win32fe cl" --download-f-blas-lapack=1 >> > --with-scalar-type=complex >> > --with-clanguage=cxx --useThreads=0 >> > [0]PETSC ERROR: ------------------------------** >> > ------------------------------**---- >> > -------- >> > [0]PETSC ERROR: PetscMemcpy() line 1779 in src/mat/impls/aij/seq/e:\** >> > users\manuel >> > \phd\cygwin\home\d022117\**petsc-3.2-p5\include\petscsys.**h >> > [0]PETSC ERROR: MatSetValues_SeqAIJ() line 331 in >> > src/mat/impls/aij/seq/E:\Users >> > \Manuel\Phd\Cygwin\home\**d022117\PETSC-~2.2-P\src\mat\** >> > impls\aij\seq\aij.c >> > [0]PETSC ERROR: MatSetValues() line 1115 in >> src/mat/interface/E:\Users\** >> > Manuel\Ph >> > d\Cygwin\home\d022117\PETSC-~**2.2-P\src\mat\INTERF~1\matrix.**c >> > >> > job aborted: >> > rank: node: exit code[: error message] >> > 0: gvsrv.delen.polito.it: 1: process 0 exited without calling finalize >> > >> > Eng. Manuel Ricardo Perez Cerquera. MSc. Ph.D student >> > Antenna and EMC Lab (LACE) >> > Istituto Superiore Mario Boella (ISMB) >> > Politecnico di Torino >> > Via Pier Carlo Boggio 61, Torino 10138, Italy >> > Email: manuel.perezcerquera at polito.it >> > Phone: +39 0112276704 >> > Fax: +39 011 2276 299 >> > >> >> >> >> -- >> 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 >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: < >> http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111116/f98593ae/attachment-0001.htm >> > >> >> ------------------------------ >> >> _______________________________________________ >> petsc-users mailing list >> petsc-users at mcs.anl.gov >> https://lists.mcs.anl.gov/mailman/listinfo/petsc-users >> >> >> End of petsc-users Digest, Vol 35, Issue 52 >> ******************************************* >> > > -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111116/aa2b7d2a/attachment.htm>
