I suspected that too, and checked DYLD_LIBRARY_PATH, but it seemed I do not have set LIBMESH_DIR to either real or complex libmesh versions. However, on the second thought, I might obliviously mess up with LIBMESH_DIR since I built the real version libmesh first, then moved on building the complex version libmesh. I'll try again later.
On Mon, Nov 14, 2011 at 11:28 PM, John Peterson <[email protected]>wrote: > On Mon, Nov 14, 2011 at 8:23 AM, Kyunghoon Lee > <[email protected]> wrote: > > Hi all, > > > > I built two libmesh libraries for real and complex numbers under > 'libmesh' > > (real) and 'libmesh_complex' (complex) directories; both versions have > the > > same configurations except "--enable-complex" for the complex one. (Note > > that I also built separate petsc/slepc libraries for real and complex > > libmesh libraries.) Now the libmesh library for real numbers works fine, > > but I have a problem with the one for complex numbers --- I checked with > > ex7, which tests complex number support, and found that it is linked with > > the real libmesh library, not the complex number version. I'm a bit > > perplexed since ex7 locates under the 'libmesh_complex' directory, but > the > > example calls the real libmesh library under the 'libmesh' directory. > I'd > > appreciate it if someone could help me with this problem. > > Only thing that comes to mind is you have LIBMESH_DIR set in your > environment to the location of the real-valued library? > > -- > John > ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
