The -rpath, etc. flags should also be added when compiling the demos. Garth
Garth N. Wells wrote: > > [EMAIL PROTECTED] wrote: >> On Wed, March 19, 2008 DOLFIN wrote: >>> One or more new changesets pushed to the primary dolfin repository. >>> A short summary of the last three changesets is included below. >>> >>> changeset: 3744:fbadc9e00e20400dcd8de6445f8b2f1e627095d9 >>> tag: tip >>> user: "Garth N. Wells <[EMAIL PROTECTED]>" >>> date: Wed Mar 19 12:39:11 2008 +0000 >>> files: demo/pde/poisson/cpp/SConstruct dolfin/SConscript >>> scons/simula-scons/simula_scons/Customize.py >>> scons/simula-scons/simula_scons/__init__.py >>> scons/simula-scons/simula_scons/pkgconfig.py >>> scons/simula-scons/simula_scons/pkgconfiggenerators/petsc.py >>> scons/simula-scons/simula_scons/pkgconfiggenerators/slepc.py >>> description: >>> Work on getting DOLFIN running with PETSc. >>> >>> I've created somethibng called 'linkOpts' and added this to LINKFLAGS by >>> doing >>> >>> modEnv.Append(LINKFLAGS=linkOpts) >>> >>> in dolfin/SConstruct. The cpp Poisson demo runs if you do 'scons' in >>> demo/pde/poisson/cpp. Plotting is broken and I haven't tested pyDOLFIN >>> yet. >>> >>> Hopefully the SCons experts can help clean it all up. >>> >>> changeset: 3743:e8694f2bd74f49d029b3b3bc1e711c5ea128641f >>> user: "Garth N. Wells <[EMAIL PROTECTED]>" >>> date: Wed Mar 19 12:02:08 2008 +0000 >>> files: scons/simula-scons/simula_scons/pkgconfiggenerators/slepc.py >>> description: >>> Fix bug in slepc.py. >>> >>> >>> changeset: 3742:0b1f60890cd8fca2af48dfb37d66897ea32c99f1 >>> user: "Garth N. Wells <[EMAIL PROTECTED]>" >>> date: Wed Mar 19 11:53:47 2008 +0000 >>> files: scons/simula-scons/simula_scons/pkgconfiggenerators/petsc.py >>> scons/simula-scons/simula_scons/pkgconfiggenerators/slepc.py >>> description: >>> Create entry 'linkeropts' in .pc files for PETSc and SLEPc. >> I have added some of these changes to simula-scons now, however, we >> removed the linkeropts variable from petsc.py and slepc.py since this >> didn't add any new information to the generated pkg-config files that >> wasn't already available via the --libs option. Instead we use >> --libs-only-other in pkgconfig.py to extract flags like -Wl,-rpath from >> the pkg-config files. > > Great. I looked on the man page to find something like > '--libs-only-other' but it's not listed. > > Garth > >> BTW: It is a bit hard to keep simula-scons in sync with the simula-scons >> within DOLFIN. It is probably better to send patches to us (me and Åsmund) >> rather than making changes directly to DOLFIN-simula-scons. I have done a >> complete svn export of simula-scons under the scons subfolder in DOLFIN >> and commited the changes so they should both be in sync now. >> >> Johannes >> >> >> _______________________________________________ >> DOLFIN-dev mailing list >> [email protected] >> http://www.fenics.org/mailman/listinfo/dolfin-dev > > > _______________________________________________ > DOLFIN-dev mailing list > [email protected] > http://www.fenics.org/mailman/listinfo/dolfin-dev _______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
