From: Yuna <hyuna@CLEMSON.EDU> - 2004-03-07 15:56:48
|
Hi Ahmed, Thanks for your advise. I set the environment variables in my .cshrc file, now PETSC directory has been found by the configure. Good! I am now try to run Make again! I still have several things I can's get clearly: 1). What is the different when running make on "OPTIMAL MODE" and "DEBUG MODE"? Which one is better? And generally what method should we use? 2). I remember the input file can be IDEAS .unv file? Am I right? How do I use it? 3). I have a project for finite element analysis for heterogenous material objects. So I have to include material information in both of my element and node classes. Isn't that a good or bad way to modify the origianl libmesh library or can I extend the original mesh and node classes, or do you have any other better way? I am original a fortran programmer, not C++. The reason I hope to switch to C++ is because I like the style of its thingking way, besides I need to link other optimization library which written in C++. So I hope to hear some expert advise of how should I develop my C++ FE application codes? I will report other progress I made later. Thanks for everyone. Yuna ----- Original Message ----- From: "Ahmed Elsheikh" <els...@mc...> To: "Yuna" <hyuna@CLEMSON.EDU> Cc: <lib...@li...> Sent: Saturday, March 06, 2004 11:10 PM Subject: Re: [Libmesh-users] Libmesh0.4.2 compiling problem in Solorias > Hi, > > As in the source code documentation, XDR is a platform-independent > binary I/O system. You have to check the linker options, but it is > tricky :) > > As a temporary solution till you get a complete answer, add > > --disable-xdr to the arguments of configure file ! > > You can use the matlab format for mesh input and gmv or tecplot format > to read the output. > > Regarding PETSC, check if you have the environment variables $PETSC_ARCH > and $PETSC_DIR properly defined. > > Ahmed > > > On Sat, 2004-03-06 at 21:10, Yuna wrote: > > Yes, I use the Unix Sun compiler. When I run make METHOD=dbg, it will > > create some files like xdrIO.C, xdr_cxx.C, xdrIO.sparc-sun-solaris2.9.g.o... > > in the src/util directory. Do you have any other ways to link the library. > > > > Others, PETSc is installed in my unix system, how can I make configure to > > find it? > > > > Thanks a lot. > > > > ----- Original Message ----- > > From: "John Peterson" <pet...@cf...> > > To: "Yuna" <hyuna@CLEMSON.EDU> > > Cc: "Ahmed EL-Sheikh" <els...@mc...>; > > <lib...@li...> > > Sent: Saturday, March 06, 2004 8:57 PM > > Subject: Re: [Libmesh-users] Libmesh0.4.2 compiling problem in Solorias > > > > > > > Yuna writes: > > > > Hi, > > > > > > > > I try to run example again. I go to the directory /examples, and > > > > run "make METHOD=dbg", all of examples can be compied, but no any > > > > executable files were created. Look the compile informations: So > > > > what does this mean? > > > For some reason it's not linking correctly. All the error messages are > > > coming from the xdr libraries, which is strange since xdr came from Sun! > > > > > > -John > |