[Nek5000-users] new build system
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Wed May 19 09:51:58 CDT 2010
Well the GNU make utility allows you to compile using multiple threads
(make -jNTHREADS).
Checking array bounds at runtime is a compiler feature which
we cannot use because of things like:
subroutine foo(a,n)
real a(1)
do i = 1,n
a(i)
enddo
The compiler would think a of size 1 although we're passing in
with the correct size n.
However we plan to introduce a debug preprocessor symbol
making the solver more verbose.
Stefan
On May 19, 2010, at 2:53 PM, nek5000-users at lists.mcs.anl.gov wrote:
> Hello all,
>
> No major complaints with the compile procedure. For one thing, I must
> say I am very impressed by the speed at which the code compiles! Very
> surprising considering the capabilities of NEK.
>
> One suggestion would be to have a way to build testing and production
> versions. The testing version would be compiled with all the debug
> switches on (i.e. check bounds etc.) and would be used when users are
> making changes in the *.usr file and debugging. The production version
> would use compile switches that the development team finds to be best
> for speed on particular platforms.
>
> Cheers,
> Frank
>
>
> On Wed, 2010-05-19 at 11:48 +0200, nek5000-users at lists.mcs.anl.gov
> wrote:
>> Dear Nek users,
>>
>> we have an ongoing discussion about a new build system for Nek.
>>
>> What do you think about the current build system?
>> How easy is it to compile Nek?
>> What can be improved / What's missing?
>>
>> One major complain was that the current build system does not follow the standard procedure of configure; make; make install.
>>
>> We may want to follow the standard more closely. One idea would be to have a nekconfigure.in file to specify the compiler, flags, etc. and you need to run nekconfigure to create a makefile for your environment. After that you can use the classical GNU make utility to compile the code.
>>
>> Your feedback is welcome!
>>
>>
>> Cheers,
>> Stefan
>>
>>
>>
>> _______________________________________________
>> Nek5000-users mailing list
>> Nek5000-users at lists.mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
> --
> Frank Herbert Muldoon, Ph.D. Mechanical Engineering
> Technische Universität Wien (Technical University of Vienna)
> Inst. f. Strömungsmechanik und Wärmeübertragung (Institute of Fluid
> Mechanics and Heat Transfer)
> Resselgasse 3
> 1040 Wien
> Tel: +4315880132232
> Fax: +4315880132299
> Cell:+436765203470
> fmuldoo (skype)
> http://tetra.fluid.tuwien.ac.at/fmuldoo/public_html/webpage/frank-muldoon.html
>
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
More information about the Nek5000-users
mailing list