Re: [petsc-dev] Cross-compiling/batch systems and getting rid of --know-sizeof- (or at least making it not required at all)

2019-05-23 Thread Jed Brown via petsc-dev
Before doing all the configure checks, I'm making a few definitions occur at run-time instead of compile time. I'll work on a PR here. https://bitbucket.org/petsc/petsc/pull-requests/1706/wip-migrate-sizeof-related-definitions-to/diff "Balay, Satish" writes: > I tried this test with MS compile

Re: [petsc-dev] Cross-compiling/batch systems and getting rid of --know-sizeof- (or at least making it not required at all)

2019-05-22 Thread Smith, Barry F. via petsc-dev
> On May 22, 2019, at 11:27 AM, Jed Brown wrote: > > Agreed, though need to test that all relevant compilers error > appropriately (and that we accurately detect such errors). Satish may > remember which are most problematic. > > There are a few other --known arguments that we may need to thi

Re: [petsc-dev] Cross-compiling/batch systems and getting rid of --know-sizeof- (or at least making it not required at all)

2019-05-22 Thread Balay, Satish via petsc-dev
I tried this test with MS compiler (cl), sun/solaris (cc) - it worked with both. Also worked with 'gcc -std=c89' Satish On Wed, 22 May 2019, Jed Brown via petsc-dev wrote: > Agreed, though need to test that all relevant compilers error > appropriately (and that we accurately detect such errors)

Re: [petsc-dev] Cross-compiling/batch systems and getting rid of --know-sizeof- (or at least making it not required at all)

2019-05-22 Thread Jed Brown via petsc-dev
Agreed, though need to test that all relevant compilers error appropriately (and that we accurately detect such errors). Satish may remember which are most problematic. There are a few other --known arguments that we may need to think about. I think these are tough: --known-snrm2-returns-doubl

Re: [petsc-dev] Cross-compiling/batch systems and getting rid of --know-sizeof- (or at least making it not required at all)

2019-05-22 Thread Smith, Barry F. via petsc-dev
It would be fantastic if we could avoid the need for the known values and ideally the need for batch completely This is a great idea. > On May 22, 2019, at 5:02 AM, Lisandro Dalcin via petsc-dev > wrote: > > Barry/Satish, you know that making requests without patches is not my styl