Re: [petsc-users] Matt, please join my network on LinkedIn

2013-05-20 Thread Satish Balay
I have 'mem...@linkedin.com' listed in mainlman's discard_these_nonmembers (privacy) option - but still this e-mail came through? Should we be removing e-mail ids from subscriber list [from where these requests keep coming?]. It looks more like spam-bots doing this. Satish -- Date:

Re: [petsc-users] Set the options NOT from argc and argv

2013-05-21 Thread Satish Balay
If PetscInitialize() is called from fortran - command line should work. An easy alternative is to have a file 'petscrc' in the executable run dir - with the command line options listed [one option per line] Satish On Tue, 21 May 2013, Matthew Knepley wrote: On Mon, May 20, 2013 at 11:01 PM,

Re: [petsc-users] 答复: 答复: 答复: 答复: 答复: 答复: 答复: 答复: 转发: PETsc problem

2013-05-22 Thread Satish Balay
] As the message indicates - you should install MPICH for windows from http://www.mpich.org/downloads/ [and not use --download-mpich - when using MS compilers on windows] Satish Thanks! Hao 发件人: Satish Balay [ba...@mcs.anl.gov] 发送时间: 2013年5月22

Matrix convergence.

2006-03-13 Thread Satish Balay
Actually there could be multiple blocks per proc in BJACOBI/ASM so the could would be something like: KSPGetPC(ksp,pc); PCBJacobiGetSubKSP(pc,nblocks,subksp); for (i=0; i nblocks; i++) { PC subpc; KPSGetPC(subksp[i],subpc); PCSetType(subpc,PCLU); } Satish On Sat, 11 Mar 2006, Barry

TOPSPIN mpich

2006-09-21 Thread Satish Balay
Does this MPI have mpicc/mpif77 etc? If so - just use: --with-cc=mpicc --with-fc=mpif77 This is less error prone then specifying --with-mpi-include --with-mpi-lib etc.. Satish On Thu, 21 Sep 2006, jens.madsen at risoe.dk wrote: Hi Do you have any experience with TOPSPIN mpich

Newbie seeking MatSetValuesBlocked example

2006-10-06 Thread Satish Balay
They are not real applications - but ex52.c, ex56.c, ex64.c in src/mat/examples/tests show the usage of MatSetValuesBlocked(). Satish On Wed, 4 Oct 2006, Paul Constantine wrote: i just started using PETSc and i'm looking for a code example using MatSetValuesBlocked. thanks, paul

General matrix interative solver

2006-10-12 Thread Satish Balay
On Thu, 12 Oct 2006, Julian wrote: I think I got the preallocation right.. But it still gets stuck at pretty much the same spot. Can you veify with '-info' - and look for number of mallocs in the verbose output. Satish When it slowed to almost pretty much a full stop, I did a break all in

General matrix interative solver

2006-10-12 Thread Satish Balay
On Thu, 12 Oct 2006, Julian wrote: I am now using MatCreateSeqSBAIJ() - I am assuming the second parameter bs=1 in my case because I am using one processor. Is that correct ? No - it refers to a blocksize. The matrix could have a block structure. In this case - the correct blocksize can be

[PETSC #15433] RE: General matrix interative solver

2006-10-13 Thread Satish Balay
On Fri, 13 Oct 2006, Julian wrote: I am now using MatCreateSeqSBAIJ() - I am assuming the second parameter bs=1 in my case because I am using one processor. Is that correct ? No - it refers to a blocksize. The matrix could have a block structure. In this case - the correct

suppressing some command line options?

2006-10-13 Thread Satish Balay
I'm attaching a patch that can be applied to petsc-2.3.2 for this to work. cd petsc-2.3.2-p3 patch -Np1 opt.patch Alternatively petsc-dev should have it http://www-unix.mcs.anl.gov/petsc/petsc-as/developers/index.html Let us know if this works. Satish On Mon, 18 Sep 2006, Barry Smith wrote:

suppressing some command line options?

2006-10-13 Thread Satish Balay
ops - forgot the attachment. [attached now] Satish On Fri, 13 Oct 2006, Satish Balay wrote: I'm attaching a patch that can be applied to petsc-2.3.2 for this to work. cd petsc-2.3.2-p3 patch -Np1 opt.patch Alternatively petsc-dev should have it http://www-unix.mcs.anl.gov/petsc/petsc

about parallel execution

2006-10-17 Thread Satish Balay
Note: PETSc uses MPI - and it follws the SPMD [Single Program Multiple Data] model. You might want to check the replies to the same question posted earlier at: http://www-unix.mcs.anl.gov/web-mail-archive/lists/petsc-users/2006/10/msg00052.html Satish On Tue, 17 Oct 2006, Hong Zhang wrote:

about parallel execution

2006-10-17 Thread Satish Balay
,if each PETSC function is called by each processor, the function like VecSet(F_global, zero), in which F_global is a parallel vector, will be called many times. In my opinion, to be called once is enough. Regards, Yixun - Original Message - From: Satish Balay balay

about PETSC installation

2006-10-21 Thread Satish Balay
On Sat, 21 Oct 2006, Yixun Liu wrote: Hi, I install PETSC on WindowsXP, MS VC++6.0, Cygwin, Dell standard dual processors PC, I do as the PETSc installation page says, $ ./config/configure.py --with-mpi-dir=d:/MPICH2 However, the error is the Fortran error! mpi_init() could not be

Undefined symbol in executing time

2006-10-24 Thread Satish Balay
I have the symbol at the following location.. asterix:/home/balay/soft/petsc-2.2.1/lib/libg/asterixnm -Ao *.a |grep PETSC_COMM_SELF |grep -v ' U ' libpetsc.a:init.o:000c B PETSC_COMM_SELF Perhaps there were errors when the libraries were built? Satish On Tue, 24 Oct 2006, Isabel Gil

about MPI_Comm_size(PETSC_COMM_WORLD,size)

2006-10-26 Thread Satish Balay
On Thu, 26 Oct 2006, Yixun Liu wrote: Hi, Can I compiler and link it in VC enviroment and then copy the .exe to a directory. you can just go to the dir which has the executable. [copy is not necessary] Then, at command line run mpiexec -n 2 xxx.exe? yes I try it, but the error is

about MPI_Comm_size(PETSC_COMM_WORLD,size)

2006-10-26 Thread Satish Balay
certainly not something which requires a reinstall of mpich. Satish On Thu, 26 Oct 2006, Yixun Liu wrote: Hi, I tried what you said and mpiexec - n 2 localonly is ok. Do I need to reinstall the MPICH2? Best, Yixun - Original Message - From: Satish Balay balay at mcs.anl.gov

about runtime lib conflict

2006-10-29 Thread Satish Balay
On Sun, 29 Oct 2006, Yixun Liu wrote: Hi, I use PETSC with other libs, but they use different runtime lib. I don't understand this statement. I hope to config PETSC with Debug multithread dll runtime lib. How to do it? 1. Build PETSc libraries with the default configure options [The

about runtime lib conflict

2006-10-29 Thread Satish Balay
will use different run time libs when they use different compiler option. But this will cause lib conflict. So I need to config the PETSC to let it use the same run time lib with the other. Best, Yixun - Original Message - From: Satish Balay balay at mcs.anl.gov To: PETSC petsc

about runtime lib conflict

2006-10-31 Thread Satish Balay
On Tue, 31 Oct 2006, Yixun Liu wrote: Hi, Should be COPTFLAGS='-MDd -Z7' CXXOPTFLAGS='-MDd -Z7' due to debug version? -Z7 already indecates debugging - so both should be fine.. Satish

about setting PETSC_DIR

2006-10-31 Thread Satish Balay
On Wed, 1 Nov 2006, Yixun Liu wrote: Hi, I use Cygwin on windowsXP. I want to know how to set system enviroment varialble PETSC_DIR. PETSC_DIR = /cygdrive/d/myvc/petsc-2.3.2-p3 or PETSC_DIR = d:\myvc\petsc-2.3.2-p3? The former can be recongized by cygwin but not by windows. The latter

about PETSC run time lib

2006-11-04 Thread Satish Balay
On Sat, 4 Nov 2006, Yixun Liu wrote: Hi, I config PETSC with, $ ./config/configure.py --with-mpi-dir=/cygdrive/d/MPICH2 --with-cc='win32fe cl' --with-fc=0 --with-cxx='win32fe cl' --with-clanguage=cxx

petsc: symmetric matrix

2006-11-22 Thread Satish Balay
On Thu, 23 Nov 2006, sqbang wrote: Hi, all when I create a matrix with MatCreateSeqAIJ() and the matrix is symmetry,how can I complete it while only the half data is inserted ? does the memory needed be half of the same scale matrix but not symmetry ? if not,how should i set it ? thanks

saving parallel vectors

2006-11-24 Thread Satish Balay
On Fri, 24 Nov 2006, Matteo Semplice wrote: Thansk for all the replies. I always thought that binary format would be best, but I couldn't find any description of the binary format. Could you point me to a relevant piece of the docs? This is documented in the man page for VecLoad() and

Unable to use MPICH2 during Petsc compilation

2006-11-24 Thread Satish Balay
Have you rebuilt PETSc libraries with mpich2 - when you made this change? If so - send us the relavent logs at petsc-maint at mcs.anl.gov [configure.log, make_log and log for 'make test'] Satish On Sat, 25 Nov 2006, Ben Tay wrote: Hi, I'm trying to use MPICH2 for the mpi during compilation

Modifying the MSDdev *.dsw *.dsp files to run without mpi

2006-11-24 Thread Satish Balay
You'll have to follow instructions in the 'Project Files' section at http://www-unix.mcs.anl.gov/petsc/petsc-as/documentation/installation.html [specifically - perhaps that MPI include/library paths in the project files were not updated to point to mpiuni stuff [as would be visible when a PETSc

unresolved external symbol with matgetarrayf90/matrestorearrayf90

2006-11-28 Thread Satish Balay
On Tue, 28 Nov 2006, Matthew Knepley wrote: On 11/28/06, Ben Tay zonexo at gmail.com wrote: hi, I'm using win xp with visual fortran and visual c++. i had compiled in cygwin w/o any problems and most examples worked. however ex16f90 in the mat directory gave the error of unresolved

Using Compaq visual fortran w/o intel mkl visual 6 c++

2006-11-28 Thread Satish Balay
We haven't tried gcc+compaq fortran. I don't think it will work. You'll need the C compiler to install PETSc libraries. But once the libraries are installed - you might be able to copy/use them on a different machine with only the fortran compiler [provided everything else PETSc is configured

help in capturing matrix patterns to files

2006-05-04 Thread Satish Balay
There are already tools to do get this dump xwd | xpr -device ps foo.ps [now when the curser changes - click on the window to be dumped] xv [use the grab option, and then save as tiff/jpg/ps format] Perhaps there are other tools that can be used. Hence there is no extra tools in PETSc to do

PETSc and MPICH2

2006-05-05 Thread Satish Balay
Yes, its the default version used by --download-mpich. [However on windows we still test with mich1] You should use --with-mpi-dir option with configure. Satish On Fri, 5 May 2006, Micha? Wieja wrote: Hi, I just have a quick question, does the PETSc 2.3.0 and 2.3.1 work with MPICH2. I'm

memory bleeding

2006-05-08 Thread Satish Balay
If you don't get any output with -trdump - it could mean that all objects are getting properly destroyed. But the swap usage is a bit unusual. You could try the option -trmalloc_log to see how memory is allocate on the PETSc side. And also -log_summary to see the summary of memory usage. Also -

bombing out writing large scratch files

2006-05-28 Thread Satish Balay
0xbfff9890 in ?? () #6 0x406873a8 in __dtors_list_end () from /opt/intel_fc_80/lib/libifcore.so.5 #7 0x0002 in ?? () #8 0x in ?? () (gdb) This all makes me think this is an INTEL compiler bug, and has nothing to do with my code. Any ideas? Randy Satish Balay wrote: Looks

bombing out writing large scratch files

2006-05-28 Thread Satish Balay
try your other suggestions as well. However, this code has worked flawlessly until now, with a model much much larger than I've used in the past. Satish Balay wrote: - Not sure what SIGUSR1 means in this context. - The stack doesn't show any PETSc/user code. Was this code

Using valgrind on petsc projects

2006-05-28 Thread Satish Balay
asterix:/home/balay/spetsc/src/snes/examples/tutorialsmpiexec -np 2 valgrind -q --tool=memcheck ./ex5 Number of Newton iterations = 4 asterix:/home/balay/spetsc/src/snes/examples/tutorials The above is with MPICH2 and valgrind doesn't find any problems. So I'll sugest installing another

building libraries

2006-05-31 Thread Satish Balay
On Wed, 31 May 2006, Matt Funk wrote: Hi, i need to build PETsC on s sycld machine. Basically i need to have MPI support in PetsC but i need to switch from using mpicc to gcc. why use gcc over mpicc? [mpicc should be internally using gcc so it should satisfy the gcc requiremetn] I was

building libraries

2006-06-01 Thread Satish Balay
On Thu, 1 Jun 2006, Satish Balay wrote: Looks like you are not using PETSc makefiles. This is the recommended thing to do. I intend to say 'The recommended method is to use PETSc makefiles'. Satish

EXTERNAL: RE: EXTERNAL: Re: Problems using external packages Spooles and Hy pre with PETSc v2. 3.1

2006-06-06 Thread Satish Balay
I think Barry ment to e-mail to petsc-maint or hzhang [@mcs.anl.gov] How big is the file? It it is very big [and not suitable for e-mail] then you can upload it to ftp://ftp.mcs.anl.gov/incoming [and send us e-mail with the name of the file] Satish On Tue, 6 Jun 2006, Stephen R Ball wrote:

in the test compilation

2006-06-15 Thread Satish Balay
Why use petsc-2.1.6 instead of the latest 2.3.1? What do you have for: nm -Ao /home/leep/petsc-2.1.6/lib/libg/linux64/*.a |grep -i petscsetcommonblock Satish On Thu, 15 Jun 2006, Pilhwa Lee wrote: Hi, I'm in the stage of testing compilation of an example. I'm using PETSc 2.1.6. In the

in the test compilation

2006-06-15 Thread Satish Balay
/libpetscfortran.a:zstartf.o: U petscsetcommonblock_ Thanks, Pilhwa On Thu, 2006-06-15 at 11:13 -0500, Satish Balay wrote: Why use petsc-2.1.6 instead of the latest 2.3.1? What do you have for: nm -Ao /home/leep/petsc-2.1.6/lib/libg/linux64/*.a |grep -i petscsetcommonblock Satish

in the test compilation

2006-06-15 Thread Satish Balay
/libg/linux64/libpetscfortran.a:zstartf.o: U petscsetcommonblock_ Thanks, Pilhwa On Thu, 2006-06-15 at 11:13 -0500, Satish Balay wrote: Why use petsc-2.1.6 instead of the latest 2.3.1? What do you have for: nm -Ao /home/leep/petsc-2.1.6/lib

downloading problem

2006-06-15 Thread Satish Balay
yeah the ftp server is down since morning. Our systems folks are trying to fix it. Will let you know once its up.. Satish On Thu, 15 Jun 2006, Letian Wang wrote: Hi, Today I could not download PETSc from ftp://ftp.mcs.anl.gov/pub/petsc/petsc-lite-2.3.1.tar.gz, neither could I

downloading problem

2006-06-16 Thread Satish Balay
The ftp serer is back up now. You can retry. Satish On Thu, 15 Jun 2006, Satish Balay wrote: yeah the ftp server is down since morning. Our systems folks are trying to fix it. Will let you know once its up.. Satish On Thu, 15 Jun 2006, Letian Wang wrote: Hi, Today I

Compiling with or without petsc

2006-06-19 Thread Satish Balay
On Mon, 19 Jun 2006, Laslo Tibor Diosady wrote: Hi, I'm trying to create a distribution which can be built both with and without petsc. The idea behind this is that when only running uni-processor cases typically petsc will not be needed so that users do not need a copy of petsc on their

Configuration error: UNABLE to FIND MODULE

2006-06-29 Thread Satish Balay
Barry's instructions are for petsc-dev. If you are using petsc-2.3.1 - it should not need any such updates. Send configure.log for the failed build to petsc-maint at mcs.anl.gov - and we can take a look at it. However - try making sure that PETSC_DIR is set correctly - and do the following. 'rm

PETSC_FILE_* constants missing

2006-07-07 Thread Satish Balay
The changelog is a bit brief on this. From: http://www-unix.mcs.anl.gov/petsc/petsc-as/documentation/changes/231.html # PetscViewerFileType changed to PetscFileMode # PetscViewerSetFileType() changed to PetscViewerFileSetMode() PETSC_FILE_CREATE, PETSC_FILE_RDONLY etc were of type

Appending Values in Matrices

2006-07-10 Thread Satish Balay
MatSetValues(..,ADD_VALUES); You might want to check the man page for MatSetValues(). Or are you looking for some other functionality? Satish On Mon, 10 Jul 2006, Christopher Harden wrote: Hello All, I'm new to PETSc and I'm trying to use a linear solver from the KSP package in a finite

Passing Vec and Mat in C++

2006-07-19 Thread Satish Balay
The error says - you are passing in 'F' instead of 'F' to adjust_boundary() Satish On Wed, 19 Jul 2006, Christopher Harden wrote: Hello, I'm having trouble passing the Vec and Mat data types to a C function. Specifically, In my header for example I'm using, void assembly( Vec F,

link with other libraries

2006-07-21 Thread Satish Balay
The basic form of a PETSc makefile is as follows: CFLAGS = FFLAGS = CPPFLAGS = FPPFLAGS = CLEANFILES = include ${PETSC_DIR}/bmake/common/base ex1: ex1.o chkopts -${CLINKER} -o ex1 ex1.o ${PETSC_KSP_LIB} ${RM} ex1.o If you wish to

link with other libraries

2006-07-21 Thread Satish Balay
and myclass.o taking into account all the libraries Thank you very much. Best regards, Jordi Poblet On 7/21/06, Satish Balay balay at mcs.anl.gov wrote: The basic form of a PETSc makefile is as follows: CFLAGS = FFLAGS = CPPFLAGS = FPPFLAGS

usage of MatPreallocInitialize/MatPreallocFinalize

2006-01-30 Thread Satish Balay
MatPreallocInitialize appears to be a typo [for MatPreallocateInitialize] Will fix this in petsc-dev. Satish On Mon, 30 Jan 2006, Barry Smith wrote: Actually they are not really internal routines; though their documentation is a bit short. You can see uses of them in

makefile.

2006-02-17 Thread Satish Balay
On Fri, 17 Feb 2006, billy at dem.uminho.pt wrote: I am new to PETSc, so I don't really know how it works. I added this line to my makefile: include $(PETSC_DIR)/bmake/common/base but I had a target named 'clean' defined. Now, when I run my makefile it says: ... ignoring old

PETSC headers

2006-02-18 Thread Satish Balay
PETSc is installed with MPI, LAPACK - and can be installed with PARMETIS [which has metis.a]. So there is no reason to have a non-petsc makefile. And you can't use a different MPI than what PETSc is installed with. The simplest makefile would be: -- CFLAGS

PETSC headers

2006-02-18 Thread Satish Balay
$(EXECUTABLE) $(SOURCE_OBJ) $(METIS_LIB) ${PETSC_LIB} -- If I use that is says: make: *** No rule to make target `debug/main.o', needed by `all'. Stop. Billy. Quoting Satish Balay balay at mcs.anl.gov: PETSc is installed with MPI

Help on installation of PETSC+prometheus on Cygwin

2006-02-21 Thread Satish Balay
These external packages are not tested on windows. /home/feap/Library/petsc-2.3.1-p5/externalpackages/ParMetis/cygwin-c-real-opt/include/parmetis.h:20:1: warning: __cdecl redefined You could try removing the following code from

New changes for CG set type in 2.3.1-p7 ?

2006-02-21 Thread Satish Balay
On Tue, 21 Feb 2006, abdul-rahman at tu-harburg.de wrote: Hi all, There seems to be some changes for the CG type in PETSc 2.3.1-p7. I can't have -ksp_cg_symmetric anymore - it simply says: Option left: name:-ksp_cg_symmetric no value petsc-2.3.0 changelog has the following entry:

New changes for CG set type in 2.3.1-p7 ?

2006-02-22 Thread Satish Balay
On Wed, 22 Feb 2006, abdul-rahman at tu-harburg.de wrote: Satish, On Tue, 21 Feb 2006, Satish Balay wrote: petsc-2.3.0 changelog has the following entry: -ksp_cg_Hermitian and -ksp_cg_symmetric have been changed to -ksp_cg_type Hermitian or symmetric oops, thanks for pointing

New changes for CG set type in 2.3.1-p7 ?

2006-02-23 Thread Satish Balay
, 22 Feb 2006, Satish Balay wrote: I know where I did wrong now: the call below: call KSPCGSetType( ksp, KSP_CG_SYMMETRIC, ierr ) should have come _after_: call KSPSetFromOptions(ksp,ierr) Otherwise it just goes with the default Hermitian even if I don't set

final residual of iterative solver?

2006-02-23 Thread Satish Balay
Call KSPGetResidualNorm() after KSPSolve() Satish On Fri, 24 Feb 2006, billy at dem.uminho.pt wrote: How do you retrieve the final residual of the iterative solver? Billy.

PETSc lib performance tuning

2006-02-24 Thread Satish Balay
On Fri, 24 Feb 2006, abdul-rahman at tu-harburg.de wrote: How do I best customize the compiler flags? Should I edit the variables directly in petscconf, or can I do it with configure ? To compile with optimizationflags - you can use the following configure options: --with-debugging=0

VecGetValues and tutorail?

2006-02-24 Thread Satish Balay
On Fri, 24 Feb 2006, billy at dem.uminho.pt wrote: Hello, VecGetValues - Gets values from certain locations of a vector. Currently can only get values on the same processor How can I get a value of the vector belonging to a different processor? I am trying to learn how to adapt

nonzeros of a matrix

2006-08-11 Thread Satish Balay
factors etc..] Satish On Fri, 11 Aug 2006, Margot Summer wrote: Thanks. But can we find out this info inside the code (like the way we get the number of iterations of ksp)? Also, for many subpc's, e.g. using bjacobi, -ksp_view does not print out every block. Margot Satish Balay

programmmatic access to commandline variables

2006-08-15 Thread Satish Balay
On Tue, 15 Aug 2006, Yaron Kretchmer wrote: Hi All Is there a way of determining programatically which commandline options are used/not used within petsc? You can run the code with the additional option '-options_left' or add the following line of code - after PetscInitialize() ierr =

programmmatic access to commandline variables

2006-08-15 Thread Satish Balay
an array of unused options or something similar) Thanks Yaron On 8/15/06, Satish Balay balay at mcs.anl.gov wrote: On Tue, 15 Aug 2006, Yaron Kretchmer wrote: Hi All Is there a way of determining programatically which commandline options are used/not used within petsc

profiling PETSc code

2006-08-16 Thread Satish Balay
Yes - we limit the e-mail sizes on the mailing list - as we don't want to flood all list participents with multi-megabyte emails. Issues that require such interaction should be done at petsc-mait at mcs.anl.gov not petsc-users at mcs.anl.gov. Satish On Tue, 15 Aug 2006, Matt Funk wrote: Is

leave my rows alone

2006-08-16 Thread Satish Balay
On Wed, 16 Aug 2006, Thomas Geenen wrote: dear petsc users, is there a way to prevent Petsc during the assembly phase from redistributing matrix rows over cpu's ?? The row distribution is done at matrix creation time - and you can set the row distribution with MatSetSizes() [or

leave my rows alone

2006-08-16 Thread Satish Balay
On Wed, 16 Aug 2006, Thomas Geenen wrote: On Wednesday 16 August 2006 18:21, Matthew Knepley wrote: On 8/16/06, Thomas Geenen geenen at gmail.com wrote: dear petsc users, is there a way to prevent Petsc during the assembly phase from redistributing matrix rows over cpu's ?? i like

leave my rows alone

2006-08-16 Thread Satish Balay
On Wed, 16 Aug 2006, Thomas Geenen wrote: in matcreate i tell petsc that cpu0 owns 10 rows yes in matsetvalue i tell him which rows (maybe 1,9,23,46 etc) but petsc automatically assumes that cpu0 owns the first 10 rows matsetsizes also just tells petsc the number of rows. 0-9 for cpu0

leave my rows alone

2006-08-16 Thread Satish Balay
On Wed, 16 Aug 2006, Thomas Geenen wrote: And from what numbering scheme do you get these numbers 1,9,23,46 etc? my nice little FEM app that i build an interface to petsc for :) I presume this numbering is same irrespective of number of procs or the way the grid is partitioned across

Configuration problems on windows

2006-08-16 Thread Satish Balay
C:\pkg\cygwin\bin\python2.3.exe: *** unable to remap C:\pkg\cygwin\bin\cygssl-0.9.7.dll There are probably 2 ways to recover from this cygwin error. 1. reinstall cygwin from scratch 2 - kill all cygwin processes [by rebooting] - run 'ash' shell from cygwin bin dir [this should be done

Problem in mpdboot for multi-processing

2006-08-23 Thread Satish Balay
This query is best sent to mpich2-maint at mcs.anl.gov Satish On Wed, 23 Aug 2006, Changyeol Lee wrote: Hi, everyone! I assembled a 4-node cluster consisting of 4 Intel processors. I used Fedora Core 4, PETSc 2.3.1 and MPICH2-1.0.3. There is no problem in installation of PETSc and

Intel Dual core machines

2006-08-24 Thread Satish Balay
If you plan to use windows recommend mpich1 as this is what PETSc is usually tested with [as far as installation is concerned]. http://www-unix.mcs.anl.gov/mpi/mpich1/mpich-nt/ Configure will automatically look for it - and use it. The scalability depends upon the OS, MPI impl and

Intel Dual core machines

2006-08-24 Thread Satish Balay
at mcs.anl.gov [mailto:owner-petsc-users at mcs.anl.gov] On Behalf Of Satish Balay Sent: Thursday, August 24, 2006 10:54 AM To: petsc-users at mcs.anl.gov Subject: Re: Intel Dual core machines If you plan to use windows recommend mpich1 as this is what PETSc is usually tested

DPETSC_USE_FORTRAN_KERNELS-warning

2006-08-28 Thread Satish Balay
This message is outofdate. I'll fix it in petsc-dev. The way to enable this feature is to rerun configure with the additional option --with-fortran-kernels=generic You can use additonal option PETSC_ARCH with configure so that a new set of configuraton [with new set of libraries are created] -

DPETSC_USE_FORTRAN_KERNELS-warning

2006-08-28 Thread Satish Balay
On Mon, 28 Aug 2006, Satish Balay wrote: This message is outofdate. I'll fix it in petsc-dev. looks like this is already cleanedup in petsc-dev. Satish

blaslapack

2006-04-03 Thread Satish Balay
The option --with-blas-lapack-dir is useful if you already have blaslapack libraries compiled installed. If you've manually downloaded fblaslapack.tar.gz - then use the option: --download-f-blas-lapack=/home/petsc/fblaslapack.tar.gz [with the correct patch to fblaslapack.tar.gz file] Satish

blaslapack

2006-04-03 Thread Satish Balay
Use the latest 2.3.1 release of PETSc. Satish On Mon, 3 Apr 2006, li pan wrote: hi but --download-f-blas-lapack only takes no, yes .. boolean value. pan The option --with-blas-lapack-dir is useful if you already have blaslapack libraries compiled installed. If you've

blaslapack

2006-04-03 Thread Satish Balay
Please send replies to the list.. If you are not using 2.3.1 - then do the following: cd petsc-2.3.0 mkdir externalpackages cd externalpackages tar -xzf ~/fblaslapack.tar.gz cd .. ./config/configure.py --download-f-blas-lapack=1 Satish On Mon, 3 Apr 2006, li pan wrote: h, I'm not

how to install

2006-04-03 Thread Satish Balay
already responded to this query in the previous thread. Satish On Mon, 3 Apr 2006, li pan wrote: Dear all, could anybody tell how to install petsc into a pc without internet connection? best pan __ Do You Yahoo!? Tired of spam?

Q about matsingle

2006-04-11 Thread Satish Balay
That would be --with-precision=single. However PETSc currently doesn't compile in this mode. Satish On Tue, 11 Apr 2006, abdul-rahman at tu-harburg.de wrote: Dear all, if I were to compute in single precision complex, should I configure --with-precision=single or matsingle, or both?

petsc-2.3.1 on FC4 with Intel Compilers

2006-04-13 Thread Satish Balay
What problems? Send us the logs at petsc-maint at mcs.anl.gov - and we can take a look at them. Satish On Thu, 13 Apr 2006, abdul-rahman at tu-harburg.de wrote: Dear all, I'd like to know if anyone has successfully built petsc 2.3.1-p12 on Fedora Core 4 with the Intel compilers package

Using library from another linux system

2007-01-09 Thread Satish Balay
On Wed, 10 Jan 2007, Ben Tay wrote: Hi, I've some problems compiling PETSC on one of my school's server. send us configure.log at petsc-maint at mcs.anl.gov and we take a look at the problem. Its probably easier to get this working than trying the alternatives below.. I've already

PETSc and gfortran

2007-01-10 Thread Satish Balay
Can you reproduce this with a PETSc example? make test Satish On Wed, 10 Jan 2007, Paul T. Bauman wrote: Hello, Has anyone had any experience using PETSc and gfortran together? My code compiles, but when I run it, it crashes with the following error (mac Tiger 10.4.8, power pc, latest

PETSc and gfortran

2007-01-10 Thread Satish Balay
++ examples worked perfectly. How would you suggest I proceed? Thanks, Paul Satish Balay wrote: Can you reproduce this with a PETSc example? make test Satish On Wed, 10 Jan 2007, Paul T. Bauman wrote: Hello, Has anyone had any experience using PETSc and gfortran

undefined reference to ....

2007-01-10 Thread Satish Balay
at the same step.. [i.e using .o and .f90 in the same command]. Sugest crearing .o files before linking.. i.e ${FLINKER} -o a.out global.o main.o ${PETSC_LIB} Satish On Thu, 11 Jan 2007, Ben Tay wrote: Yes it ran successfully. I've attached the output. thank you very much. On 1/11/07, Satish

undefined reference to ....

2007-01-10 Thread Satish Balay
On Thu, 11 Jan 2007, Ben Tay wrote: Hi, regarding-lirc -lgcc_s -lirc_s -ldl -o a.out global.o main.f90 is it the correct order? my make file is in that order. No its the wrong order. The correct order was indicated in the previous e-mail. ${FLINKER} -o a.out global.o main.o

Visual Studio compiler and PETSc

2007-01-11 Thread Satish Balay
We don't have prebuild binaries.. Sugets configuring with: config/configure.py --with-cc='win32fe cl' --with-cxx='win32fe cl' --with-fc=0 --with-clanguage=cxx --download-c-blas-lapack=1 If you encounter problems - send us configure.log at petsc-maint at mcs.anl.gov Satish On Fri, 12 Jan

mpi not working

2007-01-17 Thread Satish Balay
You've built PETSc with the following. --with-mpi-dir=/opt/mpich/intel/ --with-x=0 However you are comparing simple MPI test with a different MPI [from /opt/mpich/myrinet/intel] /usr/lsf6/bin/mpijob_gm /opt/mpich/myrinet/intel/bin/mpirun a.out You are using different MPI imps for

graphic dump on cluster

2007-01-24 Thread Satish Balay
On Wed, 24 Jan 2007, Aron Ahmadia wrote: Is there a good script lying around somewhere for setting the X11 connections up from the master/interactive node? This seems like it could be a huge pain if you've got a bunch of worker nodes sitting in a private network behind the master in classic

PETSc performance on Intel core 2 duo

2007-01-24 Thread Satish Balay
Ideally you'll have to benchmark the correct code to determine the differences in performance between different architectures. We have some 'sequential' performance numbers for a sample test case in src/benchmarks/results/performance_cfd_2_10. Also anyone can run this benchmark on the hardware

Is MKL linked statically or shared?

2007-01-26 Thread Satish Balay
On Fri, 26 Jan 2007, Ben Tay wrote: My school's server only has MKL installed on some nodes. Hence I was told that if I need to use it, I'll have to link them statically. So how does PETSc use MKL? I guess the question is - how do you work arround the problem [of badly installed MKL] when

Using PETSc in structured c-grid for CFD and multigrid

2007-01-26 Thread Satish Balay
On Sat, 27 Jan 2007, Ben Tay wrote: I tried to install HYPRE 2.0 on windows using cygwin but it failed. I then install it as an external software thru PETSc. I think it's installing HYPRE 1.0 or something. But similarly, there's illegal operation. If you are using hypre from PETSc - you'll

Lapack/blas and Gotoblas

2007-01-26 Thread Satish Balay
On Sat, 27 Jan 2007, Ben Tay wrote: My school's server has lapack and blas installed. However, I can't get it to be automatically detected by using ./configure. what is the filename that I should used? what do you have for: ls /usr/lib/libblas* /usr/lib/liblapack* Btw, can I use GotoBlas?

unresolved external symbol with matgetarrayf90/matrestorearrayf90

2006-12-01 Thread Satish Balay
On Tue, 28 Nov 2006, Satish Balay wrote: Actually we have the f90 interface working with Compaqf90 [6.0 compiler]. Use the additional configure option --with-f90-interface=win32 There was bug - which prevented this from working. You can get the latest tarfile [p7] which has the fix

Some basic questions about PETSC

2006-12-03 Thread Satish Balay
On Sun, 3 Dec 2006, Matthew Knepley wrote: 1. Are petscscaler the same as real nos.? I am writing in double precision or real(8). So are these 2 interchangeable? (same as petscint and integer). Yes. You can check these defines in include/finclude/petscdef.h PetscInt - integer*4

-parallel Intel compiler option

2006-12-04 Thread Satish Balay
nope - PETSc uses MPI for parallelism internally - so using the additional compiler directive is not required. It mignt work - but it is not appropriate. [we never tested this mode] If you use this option - you'll need to understand what exactly it means [in this context of MPI etc.. ] - and how

Configuration crash - can't start new thread

2006-12-05 Thread Satish Balay
What linux is this? Just get python sources from http://python.org/ [sugest python-2.4] - and install your own copy - and try with it. configure python with: ./configure --prefix=${HOME}/python-2.4 make make install And configure PETSc with: ${HOME}/python-2.4/bin/python config/configure.py

Configuration crash - can't start new thread

2006-12-07 Thread Satish Balay
if it is because petsc is still using the old version On 12/6/06, Satish Balay balay at mcs.anl.gov wrote: This is wierd. I don't think we've seen this error before. What kind of linux is this running? I'm guessing there is a problem on the system-software side.. [with threads

Configuration crash - can't start new thread

2006-12-07 Thread Satish Balay
On Thu, 7 Dec 2006, Satish Balay wrote: I'll sugest using a different machine for install. Can you try the following change to python/BuildSystem/RDict.py - and then run configure with the option '--useThreads=0' - and see if it works? Satish

Configuration crash - can't start new thread

2006-12-12 Thread Satish Balay
/06, Satish Balay balay at mcs.anl.gov wrote: On Thu, 7 Dec 2006, Satish Balay wrote: I'll sugest using a different machine for install. Can you try the following change to python/BuildSystem/RDict.py - and then run configure with the option '--useThreads=0' - and see if it works

Some questions regarding PETsc

2006-12-23 Thread Satish Balay
On Fri, 22 Dec 2006, Matthew Knepley wrote: 1. Is Intel MKL much faster than the downloaded BLAS/LAPACK? Or is it true only for really large problem? Is ATLAS a good alternative too? This depends heavily on the architecture and on the BLAS operations used. I don't think it much faster, but

  1   2   3   4   5   6   7   8   9   10   >