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