Re: [petsc-dev] Fwd: [ideas-xsdk] common configure/cmake arguments for XSDK packages ready for testing

2014-12-25 Thread Satish Balay
On Thu, 25 Dec 2014, Matthew Knepley wrote: > On Thu, Dec 25, 2014 at 12:35 PM, Satish Balay wrote: > > > On Wed, 24 Dec 2014, Matthew Knepley wrote: > > > > > On Wed, Dec 24, 2014 at 3:48 PM, Jed Brown wrote: > > > > > > > Barry Smith writes: > > > > > > > > >> On Dec 24, 2014, at 12:26 PM, J

Re: [petsc-dev] Fwd: [ideas-xsdk] common configure/cmake arguments for XSDK packages ready for testing

2014-12-25 Thread Matthew Knepley
On Thu, Dec 25, 2014 at 12:35 PM, Satish Balay wrote: > On Wed, 24 Dec 2014, Matthew Knepley wrote: > > > On Wed, Dec 24, 2014 at 3:48 PM, Jed Brown wrote: > > > > > Barry Smith writes: > > > > > > >> On Dec 24, 2014, at 12:26 PM, Jed Brown wrote: > > > >> > > > >> In this case, it might be mo

Re: [petsc-dev] Fwd: [ideas-xsdk] common configure/cmake arguments for XSDK packages ready for testing

2014-12-25 Thread Satish Balay
On Wed, 24 Dec 2014, Matthew Knepley wrote: > On Wed, Dec 24, 2014 at 3:48 PM, Jed Brown wrote: > > > Barry Smith writes: > > > > >> On Dec 24, 2014, at 12:26 PM, Jed Brown wrote: > > >> > > >> In this case, it might be more reliable to compare "cc --version". > > > > > > Presumably this is

Re: [petsc-dev] Fwd: [ideas-xsdk] common configure/cmake arguments for XSDK packages ready for testing

2014-12-24 Thread Matthew Knepley
On Wed, Dec 24, 2014 at 3:48 PM, Jed Brown wrote: > Barry Smith writes: > > >> On Dec 24, 2014, at 12:26 PM, Jed Brown wrote: > >> > >> In this case, it might be more reliable to compare "cc --version". > > > > Presumably this is trivial with the gnumake stuff? > > It's easy to run it and com

Re: [petsc-dev] Fwd: [ideas-xsdk] common configure/cmake arguments for XSDK packages ready for testing

2014-12-24 Thread Jed Brown
Barry Smith writes: > Plenty of things are desirable, some are even achievable, but even fewer > are worth doing. Well, this sort of checking is what we're talking about because it costs a lot of human time (both users and developers/support). I proposed an organization that would allow arbi

Re: [petsc-dev] Fwd: [ideas-xsdk] common configure/cmake arguments for XSDK packages ready for testing

2014-12-24 Thread Barry Smith
Plenty of things are desirable, some are even achievable, but even fewer are worth doing. > On Dec 24, 2014, at 3:48 PM, Jed Brown wrote: > > Barry Smith writes: > >>> On Dec 24, 2014, at 12:26 PM, Jed Brown wrote: >>> >>> In this case, it might be more reliable to compare "cc --version"

Re: [petsc-dev] Fwd: [ideas-xsdk] common configure/cmake arguments for XSDK packages ready for testing

2014-12-24 Thread Jed Brown
Barry Smith writes: >> On Dec 24, 2014, at 12:26 PM, Jed Brown wrote: >> >> In this case, it might be more reliable to compare "cc --version". > > Presumably this is trivial with the gnumake stuff? It's easy to run it and compare before proceeding with the build. > And the mythical petsc

Re: [petsc-dev] Fwd: [ideas-xsdk] common configure/cmake arguments for XSDK packages ready for testing

2014-12-24 Thread Barry Smith
> On Dec 24, 2014, at 12:26 PM, Jed Brown wrote: > >> > > > In this case, it might be more reliable to compare "cc --version". Presumably this is trivial with the gnumake stuff? And the mythical petsc-config could do any number of sanity checks each time it is run. Barry > Module

Re: [petsc-dev] Fwd: [ideas-xsdk] common configure/cmake arguments for XSDK packages ready for testing

2014-12-24 Thread Jed Brown
Barry Smith writes: > Now change the compiler to something else from Cray and run again. Starting with PrgEnv-gnu: jedbrow@edison01:~> env | grep MODULE > PrgEnv-gnu.txt jedbrow@edison01:~> module swap PrgEnv-{gnu,cray} jedbrow@edison01:~> env | grep MODULE > PrgEnv-cray.txt jedbrow@e

Re: [petsc-dev] Fwd: [ideas-xsdk] common configure/cmake arguments for XSDK packages ready for testing

2014-12-24 Thread Barry Smith
Now change the compiler to something else from Cray and run again. > On Dec 24, 2014, at 12:56 AM, Satish Balay wrote: > > wrt cray modules - I see the following env variables set [with a 'MODULE' in > the env variable name] > > Satish > > --- > balay@hopper01:~> env |grep MODULE > MOD

Re: [petsc-dev] Fwd: [ideas-xsdk] common configure/cmake arguments for XSDK packages ready for testing

2014-12-23 Thread Satish Balay
wrt cray modules - I see the following env variables set [with a 'MODULE' in the env variable name] Satish --- balay@hopper01:~> env |grep MODULE MODULE_VERSION_STACK=3.2.6.7 LIBRARYMODULES=acml:alps:apprentice2:atp:cray-fftw:cray-libsci:cray-mpich2:cray-petsc:cray-petsc-complex:cray-shmem:c

Re: [petsc-dev] Fwd: [ideas-xsdk] common configure/cmake arguments for XSDK packages ready for testing

2014-12-23 Thread Barry Smith
I couldn't find any environmental variables for softenv and haven't logged into a cray in decades. We don't have to abort for all changes but perhaps could produce warning text or detect serious changes? Barry > On Dec 23, 2014, at 9:31 PM, Jed Brown wrote: > > Barry Smith writes: > >>

Re: [petsc-dev] Fwd: [ideas-xsdk] common configure/cmake arguments for XSDK packages ready for testing

2014-12-23 Thread Jed Brown
Barry Smith writes: > Redirecting Jed's question specifically for PETSc configure. > > Can we/should we save the modules setting at configure time and then > check them always at make time? Is some environmental variable set > that has a unique value based on the modules loaded? We can d

[petsc-dev] Fwd: [ideas-xsdk] common configure/cmake arguments for XSDK packages ready for testing

2014-12-22 Thread Barry Smith
Redirecting Jed's question specifically for PETSc configure. Can we/should we save the modules setting at configure time and then check them always at make time? Is some environmental variable set that has a unique value based on the modules loaded? If this is a common problem for us th