[petsc-users] Compilation error in petsc 3.1-p8 with ParMetis

2011-07-27 Thread Matthew Knepley
;/home/mohammad/soft/petsc-3.1-p8-debug/config/BuildSystem/config/package.py", > line 456, in configure > self.executeTest(self.configureLibrary) > File > "/home/mohammad/soft/petsc-3.1-p8-debug/config/BuildSystem/config/base.py", > line 97, in executeTest > ret = apply(test, args,kargs) > File > "/home/mohammad/soft/petsc-3.1-p8-debug/config/BuildSystem/config/package.py", > line 395, in configureLibrary > for location, directory, lib, incl in self.generateGuesses(): > File > "/home/mohammad/soft/petsc-3.1-p8-debug/config/BuildSystem/config/package.py", > line 210, in generateGuesses > raise RuntimeError('Downloaded '+self.package+' could not be used. > Please check install in '+d+'\n') > -- 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/20110727/720a2c03/attachment-0001.htm>

[petsc-users] PETSc, C++ and Eclipse

2011-07-27 Thread Mohammad Mirzadeh
tten in C++). I'd > like to link PETSc w/my application but I'm not sure how to do this. > > > > Suggestions? > > > > Thanks, > > Matt > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/a3b2a604/attachment.htm>

[petsc-users] Paralell matrix storage

2011-07-27 Thread Stefan Kolb
Hi, I have read in the user-manual that parallel sparse matrices are stored in the manner that the first n1 rows are stored on the process with rank 0 and the next n2 rows on the process with rank 1 and so on. My question is now, is it possible to store for example the rows 0 to 24 and 50 to 7

[petsc-users] MatCreateSeqDense ?

2011-07-27 Thread John Chludzinski
/pipermail/petsc-users/attachments/20110727/97e44746/attachment.htm>

[petsc-users] MatCreateSeqDense ?

2011-07-27 Thread John Chludzinski
--- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/9078e5e6/attachment.htm>

[petsc-users] MatCreateSeqDense ?

2011-07-27 Thread Jose E. Roman
Try running with -eps_gen_hermitian (since ex7 does not assume that the problem is symmetric). Jose El 27/07/2011, a las 12:51, John Chludzinski escribi?: > I let the SLEPc code run for ~45 min. when it terminated with the same values > I was getting using DSYGV in LAPACK. > > If I write cod

[petsc-users] Paralell matrix storage

2011-07-27 Thread Matthew Knepley
L: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/9312e4e9/attachment.htm>

[petsc-users] PETSc, C++ and Eclipse

2011-07-27 Thread Matt Bockman
> >> Barry >> >> On Jul 26, 2011, at 4:32 PM, Matt Bockman wrote: >> >> > Has anyone gotten PETSc to work w/Eclipse? Eclipse nicely generates all >> my makefiles for me for my current project (which is written in C++). I'd >> like to link PETSc w/my application but I'm not sure how to do this. >> > >> > Suggestions? >> > >> > Thanks, >> > Matt >> >> > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/a62dea12/attachment-0001.htm>

[petsc-users] PETSc, C++ and Eclipse

2011-07-27 Thread Mohammad Mirzadeh
t;>> \end{itemize} >>> >>> We'd love to have someone figure out how to do it right and include that >>> information. >>> >>> Barry >>> >>> On Jul 26, 2011, at 4:32 PM, Matt Bockman wrote: >>> >>> > Has anyone gotten PETSc to work w/Eclipse? Eclipse nicely generates all >>> my makefiles for me for my current project (which is written in C++). I'd >>> like to link PETSc w/my application but I'm not sure how to do this. >>> > >>> > Suggestions? >>> > >>> > Thanks, >>> > Matt >>> >>> >> > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/84c5880b/attachment.htm>

[petsc-users] Paralell matrix storage

2011-07-27 Thread Mohammad Mirzadeh
ters 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/20110727/29d63975/attachment.htm>

[petsc-users] MatCreateSeqDense ?

2011-07-27 Thread John Chludzinski
e 2 matrices I thus created > with SLEPc ex7 (generalized eigenvalue problem) it never terminates, using: > > > > ./ex7.exe -f1 k.dat -f2 m.dat -eps_type lapack -eps_smallest_real > > > > Am I creating the proper PETSc binary (canonical) format for my 2 > matrices? > > > > ---John > > > > > > > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/bd4e3646/attachment.htm>

[petsc-users] PETSc, C++ and Eclipse

2011-07-27 Thread Matt Bockman
pse does not try to compile >>>> PETSc with the project. >>>> \end{itemize} >>>> >>>> We'd love to have someone figure out how to do it right and include that >>>> information. >>>> >>>> Barry >>>> >>>> On Jul 26, 2011, at 4:32 PM, Matt Bockman wrote: >>>> >>>> > Has anyone gotten PETSc to work w/Eclipse? Eclipse nicely generates >>>> all my makefiles for me for my current project (which is written in C++). >>>> I'd like to link PETSc w/my application but I'm not sure how to do this. >>>> > >>>> > Suggestions? >>>> > >>>> > Thanks, >>>> > Matt >>>> >>>> >>> >> > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/ccebe88c/attachment.htm>

[petsc-users] use Superlu as ilu preconditioner

2011-07-27 Thread Ping Rong
Dear Hong, thank you very much for your time. Can you tell me when should KSPSetFromOptions(ksp) be called? well, libMesh has a class called "petsc_linear_solver", in its original code KSPSetFromOptions(ksp) is called while the object is created. I couldn't get any output, when I run the progr

[petsc-users] PETSc, C++ and Eclipse

2011-07-27 Thread Mohammad Mirzadeh
d now be build. >>>>> \item Right-click on the PETSc symlink in the project explorer, and >>>>> choose "Exclude from build..." to make sure Eclipse does not try to >>>>> compile >>>>> PETSc with the project. >>>>> \end{itemize} >>>>> >>>>> We'd love to have someone figure out how to do it right and include >>>>> that information. >>>>> >>>>> Barry >>>>> >>>>> On Jul 26, 2011, at 4:32 PM, Matt Bockman wrote: >>>>> >>>>> > Has anyone gotten PETSc to work w/Eclipse? Eclipse nicely generates >>>>> all my makefiles for me for my current project (which is written in C++). >>>>> I'd like to link PETSc w/my application but I'm not sure how to do this. >>>>> > >>>>> > Suggestions? >>>>> > >>>>> > Thanks, >>>>> > Matt >>>>> >>>>> >>>> >>> >> > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/41d57cce/attachment.htm>

[petsc-users] MatCreateSeqDense ?

2011-07-27 Thread Jose E. Roman
Don't use "time" to measure performance; instead use -log_summary or PetscGetTime for the interesting part of the computation. In this case, computing the residuals will take a lot of time. Jose El 27/07/2011, a las 19:28, John Chludzinski escribi?: > $ time ./ex7.exe -f1 k.dat -f2 m.dat -eps

[petsc-users] PETSc, C++ and Eclipse

2011-07-27 Thread Mohammad Mirzadeh
item Refresh the project explorer in Eclipse, so the new symlink is >>>>>> followed. >>>>>> \item Right-click on the project in the project explorer, and choose >>>>>> "Index -> Rebuild". The index should now be build. >>>>>> \item Right-click on the PETSc symlink in the project explorer, and >>>>>> choose "Exclude from build..." to make sure Eclipse does not try to >>>>>> compile >>>>>> PETSc with the project. >>>>>> \end{itemize} >>>>>> >>>>>> We'd love to have someone figure out how to do it right and include >>>>>> that information. >>>>>> >>>>>> Barry >>>>>> >>>>>> On Jul 26, 2011, at 4:32 PM, Matt Bockman wrote: >>>>>> >>>>>> > Has anyone gotten PETSc to work w/Eclipse? Eclipse nicely generates >>>>>> all my makefiles for me for my current project (which is written in C++). >>>>>> I'd like to link PETSc w/my application but I'm not sure how to do this. >>>>>> > >>>>>> > Suggestions? >>>>>> > >>>>>> > Thanks, >>>>>> > Matt >>>>>> >>>>>> >>>>> >>>> >>> >> > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/aff1b96f/attachment.htm>

[petsc-users] Question on re-coding ex29

2011-07-27 Thread Alan Wei
e are attached. Could you please take a look and give me some suggestions. best, Alan -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/42d143aa/attachment-0001.htm> -

[petsc-users] PETSc, C++ and Eclipse

2011-07-27 Thread Satish Balay
use: make getincludedirs Satish On Wed, 27 Jul 2011, Mohammad Mirzadeh wrote: > I applogize for the mistake; Include files are actually located > in $PETSC_DIR/include > > On Wed, Jul 27, 2011 at 11:18 AM, Mohammad Mirzadeh gmail.com>wrote: > > > Ok then. Now I don't have enough experience wi

[petsc-users] Question on re-coding ex29

2011-07-27 Thread John Chludzinski
; gcc: ex29.o: No such file or directory > make: [ex29] Error 1 (ignored) > > The program and modified makefile are attached. Could you please take a > look and give me some suggestions. > > best, > Alan > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/c6077a24/attachment.htm>

[petsc-users] PETSc, C++ and Eclipse

2011-07-27 Thread Matt Bockman
gt; >>>>>> > > >>>>>> A PETSc user has provided the following steps to build an Eclipse > > >>>>>> index for PETSc that can be used with their own code without > compiling PETSc > > >>>>>> source into their project. > > >>>>>> \begin{itemize} > > >>>>>> \item In the user project source directory, create a symlink to > the > > >>>>>> petsc/src directory. > > >>>>>> \item Refresh the project explorer in Eclipse, so the new symlink > is > > >>>>>> followed. > > >>>>>> \item Right-click on the project in the project explorer, and > choose > > >>>>>> "Index -> Rebuild". The index should now be build. > > >>>>>> \item Right-click on the PETSc symlink in the project explorer, > and > > >>>>>> choose "Exclude from build..." to make sure Eclipse does not try > to compile > > >>>>>> PETSc with the project. > > >>>>>> \end{itemize} > > >>>>>> > > >>>>>> We'd love to have someone figure out how to do it right and > include > > >>>>>> that information. > > >>>>>> > > >>>>>> Barry > > >>>>>> > > >>>>>> On Jul 26, 2011, at 4:32 PM, Matt Bockman wrote: > > >>>>>> > > >>>>>> > Has anyone gotten PETSc to work w/Eclipse? Eclipse nicely > generates > > >>>>>> all my makefiles for me for my current project (which is written > in C++). > > >>>>>> I'd like to link PETSc w/my application but I'm not sure how to do > this. > > >>>>>> > > > >>>>>> > Suggestions? > > >>>>>> > > > >>>>>> > Thanks, > > >>>>>> > Matt > > >>>>>> > > >>>>>> > > >>>>> > > >>>> > > >>> > > >> > > > > > > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/3da3207d/attachment.htm>

[petsc-users] Question on re-coding ex29

2011-07-27 Thread Alan Wei
ake: [ex29] Error 1 (ignored) >> >> The program and modified makefile are attached. Could you please take a >> look and give me some suggestions. >> >> best, >> Alan >> > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/aaff44cf/attachment-0001.htm>

[petsc-users] MatCreateSeqDense ?

2011-07-27 Thread John Chludzinski
-- PETSc Performance Summary: -- ./ex7 on a arch-cygw named LIZZYB with 1 processor, by John Wed Jul 27 15:47:39 2011 Using Petsc Release Version 3.1.0, Patch 7, Mon Dec 20 14:26:37 CST 2010

[petsc-users] PETSc, C++ and Eclipse

2011-07-27 Thread Satish Balay
>> /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/../../../gcrt1.o: In function `_start': (.text+0x20): undefined reference to `main' /tmp/ccEthkOE.o: In function `solveMatrix': /home/mdbockman/Documents/Research/codes/quadrilateral_FEM/quad_FEM_svn_local/quad_FEM_svn/Debug/../SparseMatr

[petsc-users] PETSc, C++ and Eclipse

2011-07-27 Thread Mohammad Mirzadeh
etsc-dev at mcs.anl.gov}. >> > >>>>>> >> > >>>>>> To make PETSc an Eclipse package >> > >>>>>> \begin{itemize} >> > >>>>>> \item Install the Mecurial plugin for Eclipse and then import the >> > >>>>>> PETSc repository to Eclipse. >> > >>>>>> \item elected New->Convert to C/C++ project and selected shared >> > >>>>>> library. After this point you can perform searchs in the code. >> > >>>>>> \end{itemize} >> > >>>>>> >> > >>>>>> A PETSc user has provided the following steps to build an >> Eclipse >> > >>>>>> index for PETSc that can be used with their own code without >> compiling PETSc >> > >>>>>> source into their project. >> > >>>>>> \begin{itemize} >> > >>>>>> \item In the user project source directory, create a symlink to >> the >> > >>>>>> petsc/src directory. >> > >>>>>> \item Refresh the project explorer in Eclipse, so the new symlink >> is >> > >>>>>> followed. >> > >>>>>> \item Right-click on the project in the project explorer, and >> choose >> > >>>>>> "Index -> Rebuild". The index should now be build. >> > >>>>>> \item Right-click on the PETSc symlink in the project explorer, >> and >> > >>>>>> choose "Exclude from build..." to make sure Eclipse does not try >> to compile >> > >>>>>> PETSc with the project. >> > >>>>>> \end{itemize} >> > >>>>>> >> > >>>>>> We'd love to have someone figure out how to do it right and >> include >> > >>>>>> that information. >> > >>>>>> >> > >>>>>> Barry >> > >>>>>> >> > >>>>>> On Jul 26, 2011, at 4:32 PM, Matt Bockman wrote: >> > >>>>>> >> > >>>>>> > Has anyone gotten PETSc to work w/Eclipse? Eclipse nicely >> generates >> > >>>>>> all my makefiles for me for my current project (which is written >> in C++). >> > >>>>>> I'd like to link PETSc w/my application but I'm not sure how to >> do this. >> > >>>>>> > >> > >>>>>> > Suggestions? >> > >>>>>> > >> > >>>>>> > Thanks, >> > >>>>>> > Matt >> > >>>>>> >> > >>>>>> >> > >>>>> >> > >>>> >> > >>> >> > >> >> > > >> > >> >> > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/22dbf711/attachment-0001.htm>

[petsc-users] To use SuperLU as a direct solver

2011-07-27 Thread Xuefei (Rebecca) Yuan
Hello, I would like to use SuperLU as a direct solver for a large size problem running on multiple processors. I have write the analytical Jacobian via FormJacobianLocal(), however, I do not know how to set the direct solver. Any thoughts? Thanks a lot! Rebecca

[petsc-users] PETSc, C++ and Eclipse

2011-07-27 Thread Matt Bockman
t; >>>>>> If you are interested in developing code that uses PETSc from >>> Eclipse >>> > >>>>>> or developing PETSc in Eclipse and have knowledge of how to do >>> indexing and >>> > >>>>>> build libraries in Eclipse please contact us at \ >>> > >>>>>> trl{petsc-dev at mcs.anl.gov}. >>> > >>>>>> >>> > >>>>>> To make PETSc an Eclipse package >>> > >>>>>> \begin{itemize} >>> > >>>>>> \item Install the Mecurial plugin for Eclipse and then import >>> the >>> > >>>>>> PETSc repository to Eclipse. >>> > >>>>>> \item elected New->Convert to C/C++ project and selected shared >>> > >>>>>> library. After this point you can perform searchs in the code. >>> > >>>>>> \end{itemize} >>> > >>>>>> >>> > >>>>>> A PETSc user has provided the following steps to build an >>> Eclipse >>> > >>>>>> index for PETSc that can be used with their own code without >>> compiling PETSc >>> > >>>>>> source into their project. >>> > >>>>>> \begin{itemize} >>> > >>>>>> \item In the user project source directory, create a symlink to >>> the >>> > >>>>>> petsc/src directory. >>> > >>>>>> \item Refresh the project explorer in Eclipse, so the new >>> symlink is >>> > >>>>>> followed. >>> > >>>>>> \item Right-click on the project in the project explorer, and >>> choose >>> > >>>>>> "Index -> Rebuild". The index should now be build. >>> > >>>>>> \item Right-click on the PETSc symlink in the project explorer, >>> and >>> > >>>>>> choose "Exclude from build..." to make sure Eclipse does not try >>> to compile >>> > >>>>>> PETSc with the project. >>> > >>>>>> \end{itemize} >>> > >>>>>> >>> > >>>>>> We'd love to have someone figure out how to do it right and >>> include >>> > >>>>>> that information. >>> > >>>>>> >>> > >>>>>> Barry >>> > >>>>>> >>> > >>>>>> On Jul 26, 2011, at 4:32 PM, Matt Bockman wrote: >>> > >>>>>> >>> > >>>>>> > Has anyone gotten PETSc to work w/Eclipse? Eclipse nicely >>> generates >>> > >>>>>> all my makefiles for me for my current project (which is written >>> in C++). >>> > >>>>>> I'd like to link PETSc w/my application but I'm not sure how to >>> do this. >>> > >>>>>> > >>> > >>>>>> > Suggestions? >>> > >>>>>> > >>> > >>>>>> > Thanks, >>> > >>>>>> > Matt >>> > >>>>>> >>> > >>>>>> >>> > >>>>> >>> > >>>> >>> > >>> >>> > >> >>> > > >>> > >>> >>> >> > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/17709100/attachment.htm>

[petsc-users] To use SuperLU as a direct solver

2011-07-27 Thread Matthew Knepley
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/20110727/9e042a03/attachment.htm>

[petsc-users] PETSc, C++ and Eclipse

2011-07-27 Thread Matt Bockman
contact us at \ >> > >>>>>> trl{petsc-dev at mcs.anl.gov >><mailto:trl%7Bpetsc-dev at mcs.**anl.gov> mcs.anl.gov> >> >}. >> >> > >>>>>> >> > >>>>>> To make PETSc an Eclipse package >> > >>>>>> \begin{itemize} >> > >>>>>> \item Install the Mecurial plugin for Eclipse and >>then import the >> > >>>>>> PETSc repository to Eclipse. >> > >>>>>> \item elected New->Convert to C/C++ project and >>selected shared >> > >>>>>> library. After this point you can perform searchs >>in the code. >> > >>>>>> \end{itemize} >> > >>>>>> >> > >>>>>> A PETSc user has provided the following steps to >>build an Eclipse >> > >>>>>> index for PETSc that can be used with their own >>code without compiling PETSc >> > >>>>>> source into their project. >> > >>>>>> \begin{itemize} >> > >>>>>> \item In the user project source directory, create >>a symlink to the >> > >>>>>> petsc/src directory. >> > >>>>>> \item Refresh the project explorer in Eclipse, so >>the new symlink is >> > >>>>>> followed. >> > >>>>>> \item Right-click on the project in the project >>explorer, and choose >> > >>>>>> "Index -> Rebuild". The index should now be build. >> > >>>>>> \item Right-click on the PETSc symlink in the >>project explorer, and >> > >>>>>> choose "Exclude from build..." to make sure >>Eclipse does not try to compile >> > >>>>>> PETSc with the project. >> > >>>>>> \end{itemize} >> > >>>>>> >> > >>>>>> We'd love to have someone figure out how to do it >>right and include >> > >>>>>> that information. >> > >>>>>> >> > >>>>>> Barry >> > >>>>>> >> > >>>>>> On Jul 26, 2011, at 4:32 PM, Matt Bockman wrote: >> > >>>>>> >> > >>>>>> > Has anyone gotten PETSc to work w/Eclipse? >>Eclipse nicely generates >> > >>>>>> all my makefiles for me for my current project >>(which is written in C++). >> > >>>>>> I'd like to link PETSc w/my application but I'm >>not sure how to do this. >> > >>>>>> > >> > >>>>>> > Suggestions? >> > >>>>>> > >> > >>>>>> > Thanks, >> > >>>>>> > Matt >> > >>>>>> >> > >>>>>> >> > >>>>> >> > >>>> >> > >>> >> > >> >> > > >> > >> >> >> >> >> -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/b6d9886b/attachment.htm>

[petsc-users] PETSc, C++ and Eclipse

2011-07-27 Thread Matt Bockman
a tiny bit of information in the PETSc >>users manual about >> > >>>>>> Eclipse: >> > >>>>>> >> > >>>>>> \section{Eclipse Users} \sindex{eclipse} >> > >>>>>> >> > >>>>>> If you are interested in developing code that uses >>PETSc from Eclipse >> > >>>>>> or developing PETSc in Eclipse and have knowledge >>of how to do indexing and >> > >>>>>> build libraries in Eclipse please contact us at \ >> > >>>>>> trl{petsc-dev at mcs.anl.gov >><mailto:trl%7Bpetsc-dev at mcs.**anl.gov> mcs.anl.gov> >> > >><mailto:trl%7Bpetsc-dev at mcs.__**anl.gov <http://anl.gov> >><mailto:trl%257Bpetsc-dev at mcs.**anl.gov> mcs.anl.gov> >> >>}. >> >> >> > >>>>>> >> > >>>>>> To make PETSc an Eclipse package >> > >>>>>> \begin{itemize} >> > >>>>>> \item Install the Mecurial plugin for Eclipse and >>then import the >> > >>>>>> PETSc repository to Eclipse. >> > >>>>>> \item elected New->Convert to C/C++ project and >>selected shared >> > >>>>>> library. After this point you can perform searchs >>in the code. >> > >>>>>> \end{itemize} >> > >>>>>> >> > >>>>>> A PETSc user has provided the following steps to >>build an Eclipse >> > >>>>>> index for PETSc that can be used with their own >>code without compiling PETSc >> > >>>>>> source into their project. >> > >>>>>> \begin{itemize} >> > >>>>>> \item In the user project source directory, create >>a symlink to the >> > >>>>>> petsc/src directory. >> > >>>>>> \item Refresh the project explorer in Eclipse, so >>the new symlink is >> > >>>>>> followed. >> > >>>>>> \item Right-click on the project in the project >>explorer, and choose >> > >>>>>> "Index -> Rebuild". The index should now be build. >> > >>>>>> \item Right-click on the PETSc symlink in the >>project explorer, and >> > >>>>>> choose "Exclude from build..." to make sure >>Eclipse does not try to compile >> > >>>>>> PETSc with the project. >> > >>>>>> \end{itemize} >> > >>>>>> >> > >>>>>> We'd love to have someone figure out how to do it >>right and include >> > >>>>>> that information. >> > >>>>>> >> > >>>>>> Barry >> > >>>>>> >> > >>>>>> On Jul 26, 2011, at 4:32 PM, Matt Bockman wrote: >> > >>>>>> >> > >>>>>> > Has anyone gotten PETSc to work w/Eclipse? >>Eclipse nicely generates >> > >>>>>> all my makefiles for me for my current project >>(which is written in C++). >> > >>>>>> I'd like to link PETSc w/my application but I'm >>not sure how to do this. >> > >>>>>> > >> > >>>>>> > Suggestions? >> > >>>>>> > >> > >>>>>> > Thanks, >> > >>>>>> > Matt >> > >>>>>> >> > >>>>>> >> > >>>>> >> > >>>> >> > >>> >> > >> >> > > >> > >> >> >> >> >> >> -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/9f0f5467/attachment-0001.htm>

[petsc-users] PETSc, C++ and Eclipse

2011-07-27 Thread Matt Bockman
;>>>** >> wrote: >> >> >> > >>>>> >> > >>>>>> >> > >>>>>> There is a tiny bit of information in the PETSc >>users manual about >> > >>>>>> Eclipse: >> > >>>>>> >> > >>>>>> \section{Eclipse Users} \sindex{eclipse} >> > >>>>>> >> > >>>>>> If you are interested in developing code that uses >>PETSc from Eclipse >> > >>>>>> or developing PETSc in Eclipse and have knowledge >>of how to do indexing and >> > >>>>>> build libraries in Eclipse please contact us at \ >> > >>>>>> trl{petsc-dev at mcs.anl.gov >><mailto:trl%7Bpetsc-dev at mcs.**anl.gov> mcs.anl.gov> >> > >><mailto:trl%7Bpetsc-dev at mcs.__**anl.gov <http://anl.gov> >><mailto:trl%257Bpetsc-dev at mcs.**anl.gov> mcs.anl.gov> >> >> >><mailto:trl%7Bpetsc-dev at mcs. >><mailto:trl%257Bpetsc-dev at mcs.**>anl.gov <http://anl.gov> >> >><mailto:trl%257Bpetsc-dev at mcs.**__anl.gov >><mailto:trl%25257Bpetsc-dev@**mcs.anl.gov> mcs.anl.gov> >> >>>}. >> >> >> >> > >>>>>> >> > >>>>>> To make PETSc an Eclipse package >> > >>>>>> \begin{itemize} >> > >>>>>> \item Install the Mecurial plugin for Eclipse and >>then import the >> > >>>>>> PETSc repository to Eclipse. >> > >>>>>> \item elected New->Convert to C/C++ project and >>selected shared >> > >>>>>> library. After this point you can perform searchs >>in the code. >> > >>>>>> \end{itemize} >> > >>>>>> >> > >>>>>> A PETSc user has provided the following steps to >>build an Eclipse >> > >>>>>> index for PETSc that can be used with their own >>code without compiling PETSc >> > >>>>>> source into their project. >> > >>>>>> \begin{itemize} >> > >>>>>> \item In the user project source directory, create >>a symlink to the >> > >>>>>> petsc/src directory. >> > >>>>>> \item Refresh the project explorer in Eclipse, so >>the new symlink is >> > >>>>>> followed. >> > >>>>>> \item Right-click on the project in the project >>explorer, and choose >> > >>>>>> "Index -> Rebuild". The index should now be build. >> > >>>>>> \item Right-click on the PETSc symlink in the >>project explorer, and >> > >>>>>> choose "Exclude from build..." to make sure >>Eclipse does not try to compile >> > >>>>>> PETSc with the project. >> > >>>>>> \end{itemize} >> > >>>>>> >> > >>>>>> We'd love to have someone figure out how to do it >>right and include >> > >>>>>> that information. >> > >>>>>> >> > >>>>>> Barry >> > >>>>>> >> > >>>>>> On Jul 26, 2011, at 4:32 PM, Matt Bockman wrote: >> > >>>>>> >> > >>>>>> > Has anyone gotten PETSc to work w/Eclipse? >>Eclipse nicely generates >> > >>>>>> all my makefiles for me for my current project >>(which is written in C++). >> > >>>>>> I'd like to link PETSc w/my application but I'm >>not sure how to do this. >> > >>>>>> > >> > >>>>>> > Suggestions? >> > >>>>>> > >> > >>>>>> > Thanks, >> > >>>>>> > Matt >> > >>>>>> >> > >>>>>> >> > >>>>> >> > >>>> >> > >>> >> > >> >> > > >> > >> >> >> >> >> >> >> -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/b879bb74/attachment-0001.htm>

[petsc-users] PETSc, C++ and Eclipse

2011-07-27 Thread Matt Bockman
<mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov>> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov>>> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov>> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov> >><mailto:bsmith at mcs.anl.gov >><mailto:bsmith at mcs.anl.gov>>>>**>__wrote: >> >> >> > >>>>> >> > >>>>>> >> > >>>>>> There is a tiny bit of information in the PETSc >>users manual about >> > >>>>>> Eclipse: >> > >>>>>> >> > >>>>>> \section{Eclipse Users} \sindex{eclipse} >> > >>>>>> >> > >>>>>> If you are interested in developing code that uses >>PETSc from Eclipse >> > >>>>>> or developing PETSc in Eclipse and have knowledge >>of how to do indexing and >> > >>>>>> build libraries in Eclipse please contact us at \ >> > >>>>>> trl{petsc-dev at mcs.anl.gov >><mailto:trl%7Bpetsc-dev at mcs.**anl.gov> mcs.anl.gov> >> > >><mailto:trl%7Bpetsc-dev at mcs.__**anl.gov <http://anl.gov> >><mailto:trl%257Bpetsc-dev at mcs.**anl.gov> mcs.anl.gov> >> >> >><mailto:trl%7Bpetsc-dev at mcs. >><mailto:trl%257Bpetsc-dev at mcs.**>anl.gov <http://anl.gov> >><mailto:trl%257Bpetsc-dev at mcs.**__anl.gov >><mailto:trl%25257Bpetsc-dev@**mcs.anl.gov> mcs.anl.gov> >> >>> >><mailto:trl%7Bpetsc-dev at mcs <mailto:trl%257Bpetsc-dev at mcs>**. >><mailto:trl%257Bpetsc-dev at mcs >><mailto:trl%25257Bpetsc-dev@**mcs >> >.__>anl.gov <http://anl.gov> >> >><http://anl.gov> >> >><mailto:trl%257Bpetsc-dev at mcs. >><mailto:trl%25257Bpetsc-dev@**mcs >> .>anl.gov <http://anl.gov> >> >><mailto:trl%25257Bpetsc-dev at __**mcs.anl.gov <http://mcs.anl.gov> >><mailto:trl%2525257Bpetsc-dev@**mcs.anl.gov> at mcs.anl.gov> >> >>>>}. >> >> >> >> >> > >>>>>> >> > >>>>>> To make PETSc an Eclipse package >> > >>>>>> \begin{itemize} >> > >>>>>> \item Install the Mecurial plugin for Eclipse and >>then import the >> > >>>>>> PETSc repository to Eclipse. >> > >>>>>> \item elected New->Convert to C/C++ project and >>selected shared >> > >>>>>> library. After this point you can perform searchs >>in the code. >> > >>>>>> \end{itemize} >> > >>>>>> >> > >>>>>> A PETSc user has provided the following steps to >>build an Eclipse >> > >>>>>> index for PETSc that can be used with their own >>code without compiling PETSc >> > >>>>>> source into their project. >> > >>>>>> \begin{itemize} >> > >>>>>> \item In the user project source directory, create >>a symlink to the >> > >>>>>> petsc/src directory. >> > >>>>>> \item Refresh the project explorer in Eclipse, so >>the new symlink is >> > >>>>>> followed. >> > >>>>>> \item Right-click on the project in the project >>explorer, and choose >> > >>>>>> "Index -> Rebuild". The index should now be build. >> > >>>>>> \item Right-click on the PETSc symlink in the >>project explorer, and >> > >>>>>> choose "Exclude from build..." to make sure >>Eclipse does not try to compile >> > >>>>>> PETSc with the project. >> > >>>>>> \end{itemize} >> > >>>>>> >> > >>>>>> We'd love to have someone figure out how to do it >>right and include >> > >>>>>> that information. >> > >>>>>> >> > >>>>>> Barry >> > >>>>>> >> > >>>>>> On Jul 26, 2011, at 4:32 PM, Matt Bockman wrote: >> > >>>>>> >> > >>>>>> > Has anyone gotten PETSc to work w/Eclipse? >>Eclipse nicely generates >> > >>>>>> all my makefiles for me for my current project >>(which is written in C++). >> > >>>>>> I'd like to link PETSc w/my application but I'm >>not sure how to do this. >> > >>>>>> > >> > >>>>>> > Suggestions? >> > >>>>>> > >> > >>>>>> > Thanks, >> > >>>>>> > Matt >> > >>>>>> >> > >>>>>> >> > >>>>> >> > >>>> >> > >>> >> > >> >> > > >> > >> >> >> >> >> >> >> >> -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/4ccd3075/attachment-0001.htm>

[petsc-users] PETSc, C++ and Eclipse

2011-07-27 Thread Matt Bockman
;and has excellent c/c++ >> > >>>>> support. >> > >>>>> >> > >>>>> Mohammad >> > >>>>> >> > >>>>> >> > >>>>> On Tue, Jul 26, 2011 at 7:22 PM, Barry Smith >>mailto:bsmith at mcs.anl.gov> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov>> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov>>> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov>> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov>>>> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov>> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov>>> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov>> >><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov> >><mailto:bsmith at mcs.anl.gov >><mailto:bsmith at mcs.anl.gov>>>>**>__>__wrote: >> >> >> > >>>>> >> > >>>>>> >> > >>>>>> There is a tiny bit of information in the PETSc >>users manual about >> > >>>>>> Eclipse: >> > >>>>>> >> > >>>>>> \section{Eclipse Users} \sindex{eclipse} >> > >>>>>> >> > >>>>>> If you are interested in developing code that uses >>PETSc from Eclipse >> > >>>>>> or developing PETSc in Eclipse and have knowledge >>of how to do indexing and >> > >>>>>> build libraries in Eclipse please contact us at \ >> > >>>>>> trl{petsc-dev at mcs.anl.gov >><mailto:trl%7Bpetsc-dev at mcs.**anl.gov> mcs.anl.gov> >> > >><mailto:trl%7Bpetsc-dev at mcs.__**anl.gov <http://anl.gov> >><mailto:trl%257Bpetsc-dev at mcs.**anl.gov> mcs.anl.gov> >> >> >><mailto:trl%7Bpetsc-dev at mcs. >><mailto:trl%257Bpetsc-dev at mcs.**>anl.gov <http://anl.gov> >><mailto:trl%257Bpetsc-dev at mcs.**__anl.gov >><mailto:trl%25257Bpetsc-dev@**mcs.anl.gov> mcs.anl.gov> >> >>> >><mailto:trl%7Bpetsc-dev at mcs <mailto:trl%257Bpetsc-dev at mcs>**. >><mailto:trl%257Bpetsc-dev at mcs >><mailto:trl%25257Bpetsc-dev@**mcs >> >.__>anl.gov <http://anl.gov> >><http://anl.gov> >><mailto:trl%257Bpetsc-dev at mcs. >><mailto:trl%25257Bpetsc-dev@**mcs >> .>anl.gov <http://anl.gov> >><mailto:trl%25257Bpetsc-dev at __**mcs.anl.gov <http://mcs.anl.gov> >><mailto:trl%2525257Bpetsc-dev@**mcs.anl.gov> at mcs.anl.gov> >> >>>> >><mailto:trl%7Bpetsc-dev at mcs <mailto:trl%257Bpetsc-dev at mcs> >><mailto:trl%257Bpetsc-dev at mcs >> <mailto:trl%25257Bpetsc-dev@**mcs >> >>__. >> >><mailto:trl%257Bpetsc-dev at mcs >> <mailto:trl%25257Bpetsc-dev@**mcs >> > >><mailto:trl%25257Bpetsc-dev at __**mcs >><mailto:trl%2525257Bpetsc-dev@**mcs >> >>.__>anl.gov >><http://anl.gov> <http://anl.gov> >> >><http://anl.gov> >> >><mailto:trl%257Bpetsc-dev at mcs >> <mailto:trl%25257Bpetsc-dev@**mcs >> >. >><mailto:trl%25257Bpetsc-dev at __**mcs >><mailto:trl%2525257Bpetsc-dev@**mcs >> >.>anl.gov <http://anl.gov> >><http://anl.gov> >> >><mailto:trl%25257Bpetsc-dev@ >><mailto:trl%2525257Bpetsc-dev@**>mcs.anl.gov < >> http://mcs.anl.gov> >> >><mailto:trl%2525257Bpetsc-dev@**__mcs.anl.gov >><mailto:trl%252525257Bpetsc-**dev at >> mcs.anl.gov >> >>>>>}. >> >> >> >> >> >> > >>>>>> >> > >>>>>> To make PETSc an Eclipse package >> > >>>>>> \begin{itemize} >> > >>>>>> \item Install the Mecurial plugin for Eclipse and >>then import the >> > >>>>>> PETSc repository to Eclipse. >> > >>>>>> \item elected New->Convert to C/C++ project and >>selected shared >> > >>>>>> library. After this point you can perform searchs >>in the code. >> > >>>>>> \end{itemize} >> > >>>>>> >> > >>>>>> A PETSc user has provided the following steps to >>build an Eclipse >> > >>>>>> index for PETSc that can be used with their own >>code without compiling PETSc >> > >>>>>> source into their project. >> > >>>>>> \begin{itemize} >> > >>>>>> \item In the user project source directory, create >>a symlink to the >> > >>>>>> petsc/src directory. >> > >>>>>> \item Refresh the project explorer in Eclipse, so >>the new symlink is >> > >>>>>> followed. >> > >>>>>> \item Right-click on the project in the project >>explorer, and choose >> > >>>>>> "Index -> Rebuild". The index should now be build. >> > >>>>>> \item Right-click on the PETSc symlink in the >>project explorer, and >> > >>>>>> choose "Exclude from build..." to make sure >>Eclipse does not try to compile >> > >>>>>> PETSc with the project. >> > >>>>>> \end{itemize} >> > >>>>>> >> > >>>>>> We'd love to have someone figure out how to do it >>right and include >> > >>>>>> that information. >> > >>>>>> >> > >>>>>> Barry >> > >>>>>> >> > >>>>>> On Jul 26, 2011, at 4:32 PM, Matt Bockman wrote: >> > >>>>>> >> > >>>>>> > Has anyone gotten PETSc to work w/Eclipse? >>Eclipse nicely generates >> > >>>>>> all my makefiles for me for my current project >>(which is written in C++). >> > >>>>>> I'd like to link PETSc w/my application but I'm >>not sure how to do this. >> > >>>>>> > >> > >>>>>> > Suggestions? >> > >>>>>> > >> > >>>>>> > Thanks, >> > >>>>>> > Matt >> > >>>>>> >> > >>>>>> >> > >>>>> >> > >>>> >> > >>> >> > >> >> > > >> > >> >> >> >> >> >> >> >> >> -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/b051/attachment-0001.htm>

[petsc-users] PETSc, C++ and Eclipse

2011-07-27 Thread Matt Bockman
:mirzadeh at gmail.com <mailto:mirzadeh at gmail.com>> >>> <mailto:mirzadeh at gmail.com <mailto:mirzadeh at gmail.com> >>><mailto:mirzadeh at gmail.com <mailto:mirzadeh at gmail.com>>> >>><mailto:mirzadeh at gmail.com <mailto:mirzadeh at gmail.com> >>><mailto:mirzadeh at gmail.com <mailto:mirzadeh at gmail.com>> >>><mailto:mirzadeh at gmail.com <mailto:mirzadeh at gmail.com> >>><mailto:mirzadeh at gmail.com <mailto:mirzadeh at gmail.com>>>> >>><mailto:mirzadeh at gmail.com <mailto:mirzadeh at gmail.com> >>><mailto:mirzadeh at gmail.com <mailto:mirzadeh at gmail.com>> >>><mailto:mirzadeh at gmail.com <mailto:mirzadeh at gmail.com> >>><mailto:mirzadeh at gmail.com <mailto:mirzadeh at gmail.com>>> >>><mailto:mirzadeh at gmail.com <mailto:mirzadeh at gmail.com> >>><mailto:mirzadeh at gmail.com <mailto:mirzadeh at gmail.com>> >>><mailto:mirzadeh at gmail.com <mailto:mirzadeh at gmail.com> >>><mailto:mirzadeh at gmail.com <mailto:mirzadeh at gmail.com>>>>**> >>> >>> >>> > >>>> > wrote: >>> > >>>> >>> > >>>>> Although this is sort of orthogonal to what you do >>>right now, >>> > >>>>> I recommend Qt Creator as an alternative IDE to >>>Eclipse. It links nicely >>> > >>>>> with PETSc(or any other library for that matter) >>>and has excellent c/c++ >>> > >>>>> support. >>> > >>>>> >>> > >>>>> Mohammad >>> > >>>>> >>> > >>>>> >>> > >>>>> On Tue, Jul 26, 2011 at 7:22 PM, Barry Smith >>>mailto:bsmith at mcs.anl.gov> >>><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov>> >>><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov> >>><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov>>> >>><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov> >>><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov>> >>><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov> >>><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov>>>> >>><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov> >>><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov>> >>><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov> >>><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov>>> >>><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov> >>><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov>> >>><mailto:bsmith at mcs.anl.gov <mailto:bsmith at mcs.anl.gov> >>><mailto:bsmith at mcs.anl.gov >>><mailto:bsmith at mcs.anl.gov>>>>**>__>__wrote: >>> >>> >>> > >>>>> >>> > >>>>>> >>> > >>>>>> There is a tiny bit of information in the PETSc >>>users manual about >>> > >>>>>> Eclipse: >>> > >>>>>> >>> > >>>>>> \section{Eclipse Users} \sindex{eclipse} >>> > >>>>>> >>> > >>>>>> If you are interested in developing code that uses >>>PETSc from Eclipse >>> > >>>>>> or developing PETSc in Eclipse and have knowledge >>>of how to do indexing and >>> > >>>>>> build libraries in Eclipse please contact us at \ >>> > >>>>>> trl{petsc-dev at mcs.anl.gov >>><mailto:trl%7Bpetsc-dev at mcs.**anl.gov>> mcs.anl.gov> >>> > >>><mailto:trl%7Bpetsc-dev at mcs.__**anl.gov <http://anl.gov> >>><mailto:trl%257Bpetsc-dev at mcs.**anl.gov>> mcs.anl.gov> >>> >> >>><mailto:trl%7Bpetsc-dev at mcs. >>><mailto:trl%257Bpetsc-dev at mcs.**>anl.gov <http://anl.gov> >>><mailto:trl%257Bpetsc-dev at mcs.**__anl.gov >>><mailto:trl%25257Bpetsc-dev@**mcs.anl.gov>> mcs.anl.gov> >>> >>> >>><mailto:trl%7Bpetsc-dev at mcs <mailto:trl%257Bpetsc-dev at mcs>**. >>><mailto:trl%257Bpetsc-dev at mcs >>><mailto:trl%25257Bpetsc-dev@**mcs >>> >.__>anl.gov <http://anl.gov> >>><http://anl.gov> >>><mailto:trl%257Bpetsc-dev at mcs. >>><mailto:trl%25257Bpetsc-dev@**mcs >>> .>anl.gov <http://anl.gov> >>><mailto:trl%25257Bpetsc-dev at __**mcs.anl.gov <http://mcs.anl.gov> >>><mailto:trl%2525257Bpetsc-dev@**mcs.anl.gov>> at mcs.anl.gov> >>> >>>> >>><mailto:trl%7Bpetsc-dev at mcs <mailto:trl%257Bpetsc-dev at mcs> >>><mailto:trl%257Bpetsc-dev at mcs >>> <mailto:trl%25257Bpetsc-dev@**mcs >>> >>__. >>> >>><mailto:trl%257Bpetsc-dev at mcs >>> <mailto:trl%25257Bpetsc-dev@**mcs >>> > >>> <mailto:trl%25257Bpetsc-dev at __**mcs >>><mailto:trl%2525257Bpetsc-dev@**mcs >>> >>.__>anl.gov >>><http://anl.gov> <http://anl.gov> >>> >>><http://anl.gov> >>> >>><mailto:trl%257Bpetsc-dev at mcs >>> <mailto:trl%25257Bpetsc-dev@**mcs >>> >. >>> <mailto:trl%25257Bpetsc-dev at __**mcs >>><mailto:trl%2525257Bpetsc-dev@**mcs >>> >.>anl.gov <http://anl.gov> >>><http://anl.gov> >>> >>><mailto:trl%25257Bpetsc-dev@ >>><mailto:trl%2525257Bpetsc-dev@**>mcs.anl.gov < >>> http://mcs.anl.gov> >>> >>><mailto:trl%2525257Bpetsc-dev@**__mcs.anl.gov >>><mailto:trl%252525257Bpetsc-**dev at >>> mcs.anl.gov >>> >>>>>}. >>> >>> >>> >>> >>> >>> > >>>>>> >>> > >>>>>> To make PETSc an Eclipse package >>> > >>>>>> \begin{itemize} >>> > >>>>>> \item Install the Mecurial plugin for Eclipse and >>>then import the >>> > >>>>>> PETSc repository to Eclipse. >>> > >>>>>> \item elected New->Convert to C/C++ project and >>>selected shared >>> > >>>>>> library. After this point you can perform searchs >>>in the code. >>> > >>>>>> \end{itemize} >>> > >>>>>> >>> > >>>>>> A PETSc user has provided the following steps to >>>build an Eclipse >>> > >>>>>> index for PETSc that can be used with their own >>>code without compiling PETSc >>> > >>>>>> source into their project. >>> > >>>>>> \begin{itemize} >>> > >>>>>> \item In the user project source directory, create >>>a symlink to the >>> > >>>>>> petsc/src directory. >>> > >>>>>> \item Refresh the project explorer in Eclipse, so >>>the new symlink is >>> > >>>>>> followed. >>> > >>>>>> \item Right-click on the project in the project >>>explorer, and choose >>> > >>>>>> "Index -> Rebuild". The index should now be build. >>> > >>>>>> \item Right-click on the PETSc symlink in the >>>project explorer, and >>> > >>>>>> choose "Exclude from build..." to make sure >>>Eclipse does not try to compile >>> > >>>>>> PETSc with the project. >>> > >>>>>> \end{itemize} >>> > >>>>>> >>> > >>>>>> We'd love to have someone figure out how to do it >>>right and include >>> > >>>>>> that information. >>> > >>>>>> >>> > >>>>>> Barry >>> > >>>>>> >>> > >>>>>> On Jul 26, 2011, at 4:32 PM, Matt Bockman wrote: >>> > >>>>>> >>> > >>>>>> > Has anyone gotten PETSc to work w/Eclipse? >>>Eclipse nicely generates >>> > >>>>>> all my makefiles for me for my current project >>>(which is written in C++). >>> > >>>>>> I'd like to link PETSc w/my application but I'm >>>not sure how to do this. >>> > >>>>>> > >>> > >>>>>> > Suggestions? >>> > >>>>>> > >>> > >>>>>> > Thanks, >>> > >>>>>> > Matt >>> > >>>>>> >>> > >>>>>> >>> > >>>>> >>> > >>>> >>> > >>> >>> > >> >>> > > >>> > >>> >>> >>> >>> >>> >>> >>> >>> >>> > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/da83d4b7/attachment-0001.htm>

[petsc-users] [error] [petsc-3.1-p8]

2011-07-27 Thread Barry Smith
Edit $PETSC_DIR/$PETSC_ARCH/conf/petscvariables and remove all mention of -lPEPCF90 then run make test again Barry On Jul 27, 2011, at 9:56 PM, wrote: > when i execute "make PETSC_DIR=/home/chengwl/opt/petsc-3.1-p8 test" > > ld: cannot find -lPEPCF90 > make[3]: [ex5f] error1 (ig