For Programmers: Free Programming Magazines  


Home > Archive > Fortran > September 2005 > DRAIN-2DX compile









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author DRAIN-2DX compile
nancy80

2005-09-21, 3:56 am

Does anyonne manage to compile the source code of DRAIN-2dx given in
http://nisee.berkeley.edu/software/drain2dx/ ?
If yes can you share your knowledge with me?
Thanks

Arjen Markus

2005-09-22, 3:57 am

I gave it a quick look, but the source code comes with no makefiles or
whatever at all. Compiling the entire program to find out whether it
can be done is going to be a tedious job.

What other compilation errors did you get than the ones you reported
about already?
Perhaps you should contact the authors directly ...

Regards,

Arjen

nancy80

2005-09-22, 3:57 am

Thanks Arjen for your reply.Actually i am not getting any errors.Just
warnings.However the executable created do not run properly coming up with
an error for array bounds being exceeded...Any ideas?I do not think i will
have any luck in contacting the authors...

Les

2005-09-22, 7:56 am


"nancy80" <nkazantzi@yahoo.com> wrote in message
news:94692a2341ee35aca385dfe9dc261e5b@lo
calhost.talkaboutprogramming.com...
> Thanks Arjen for your reply.Actually i am not getting any errors.Just
> warnings.However the executable created do not run properly coming up with
> an error for array bounds being exceeded...Any ideas?I do not think i will
> have any luck in contacting the authors...
>


I have sent private mail but for info to the group :
One routine has an array ST(2,2) and a couple of do loops with i =1,4 for
the first index,
thus giving the array bounds error.
I changed the loops to i=1,2 and the exe ran to completion.

Les


Arjen Markus

2005-09-22, 7:56 am

That sort of errors should be "easy" to locate using the array bound
checking option that most compilers have these days ...

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com