Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

best cpu
hello.
i wrote over 5000 lines of code, and compilation needs about 30seconds,
the programm code needs about 320seconds to execute. i am working on
amd 2500+ and code is optimized for amd athlon. but i need the code to
work faster. i would like to change the cpu / complete pc system. what
cpu is best/fastest for executing fortran code? i think the FPU must be
good. Xeon? Pentium 4 EE? Opteron? Athlon FX? Itanium? any ideas?
thanks!


Report this thread to moderator Post Follow-up to this message
Old Post
Tony199
05-14-05 09:05 PM


Re: best cpu
i have to add the following:
same code on a single intel xeon 2200Mhz needs about 352seconds. ram is
on both systems over 1GB. would be very nice to recieve some ideas
about making computing faster.
regards


Report this thread to moderator Post Follow-up to this message
Old Post
Tony199
05-14-05 09:05 PM


Re: best cpu
Tony199 wrote:

> hello.
> i wrote over 5000 lines of code, and compilation needs about 30seconds,
> the programm code needs about 320seconds to execute. i am working on
> amd 2500+ and code is optimized for amd athlon. but i need the code to
> work faster. i would like to change the cpu / complete pc system. what
> cpu is best/fastest for executing fortran code? i think the FPU must be
> good. Xeon? Pentium 4 EE? Opteron? Athlon FX? Itanium? any ideas?
> thanks!
The lack of information here makes this look like a troll.
If you don't parallelize, any of those which support MP would be off target.
If you do, the same program may perform best on any of those models which
support MP, depending on the data.
--
Tim Prince

Report this thread to moderator Post Follow-up to this message
Old Post
Tim Prince
05-14-05 09:05 PM


Re: best cpu
Tony199 wrote:
> hello.
> i wrote over 5000 lines of code, and compilation needs about 30seconds,
> the programm code needs about 320seconds to execute. i am working on
> amd 2500+ and code is optimized for amd athlon. but i need the code to
> work faster. i would like to change the cpu / complete pc system. what
> cpu is best/fastest for executing fortran code? i think the FPU must be
> good. Xeon? Pentium 4 EE? Opteron? Athlon FX? Itanium? any ideas?
> thanks!
>

Have you used a profiler to determine where the code spends it time?
The choice of a bad algorithm can be a killer.

--
steve

Report this thread to moderator Post Follow-up to this message
Old Post
Steve Kargl
05-14-05 09:05 PM


Re: best cpu
sorry i am not a troll. where is the problem? lack of information? what
do you want more? well the code, yes is very huge, but the code is also
very sientific, the cpu has to compute a lot of doubles.
with my current knowledge, i think the prozess (theard) is only one, so
MP would not help me. but i have seen that the same code runns very
different if the cpu is intel or amd. i thought my code ( coded with
intel fortran compiler 8.1) would run on an intel xeon a lot faster
than on an amd athlon 2500+. but thats not. so i ask now here if you
know where fortran code is computed faster than on my current system.
yes sure, itanium was a bit stupid. it is nearly not affordable.

i looked around and checked some cpus with sisoft sandra. and the
benchmark system gave me some information about FPU, ALU, MIPS, GFLOPS
etc. maybe you know which value is important to speed up code. i
thought, the faster the FPU is the faster the fortran code weill
speeded up.

and i am not a troll :-)


Tim Prince schrieb:
> Tony199 wrote:
> 
30seconds, 
on 
to 
what 
must be 
> The lack of information here makes this look like a troll.
> If you don't parallelize, any of those which support MP would be off
target.
> If you do, the same program may perform best on any of those models
which
> support MP, depending on the data.
> --
> Tim Prince


Report this thread to moderator Post Follow-up to this message
Old Post
Tony199
05-14-05 09:05 PM


Re: best cpu
sorry, no i have not used a profiler. i just upgrade from Compaq 6.6 to
intel fortran 8.1 and everything seems to be a bit different. where can
i find that profiler? sorry. :-)


Report this thread to moderator Post Follow-up to this message
Old Post
Tony199
05-14-05 09:05 PM


Re: best cpu

Tony199 wrote:
> sorry i am not a troll. where is the problem? lack of information? what
> do you want more? well the code, yes is very huge, but the code is also
> very sientific, the cpu has to compute a lot of doubles.
> with my current knowledge, i think the prozess (theard) is only one, so
> MP would not help me. but i have seen that the same code runns very
> different if the cpu is intel or amd. i thought my code ( coded with
> intel fortran compiler 8.1) would run on an intel xeon a lot faster
> than on an amd athlon 2500+. but thats not. so i ask now here if you
> know where fortran code is computed faster than on my current system.
> yes sure, itanium was a bit stupid. it is nearly not affordable.
>
> i looked around and checked some cpus with sisoft sandra. and the
> benchmark system gave me some information about FPU, ALU, MIPS, GFLOPS
> etc. maybe you know which value is important to speed up code. i
> thought, the faster the FPU is the faster the fortran code weill
> speeded up.
>
> and i am not a troll :-)
>

The most constructive answer to how to lower your execution time is
to improve your algorithm. The most polished n^2 sort (bubble, merge
whatever) will be left in the dust by even a minimally competent n
log(n) sort (quick, tree, whatever). Sometimes algorithm choice means
not getting into trouble with paging or caching issues.

You have done a superb imitation of a clown who thinks that a highly
polished lousy algorithm ever stands a chance of being efficient.

The requests for more information are trying to find out what type
of problem you are dealing with so that efficient algorithms can
be suggested. Your response reinforces the notion that you are
almost surely totally ignorant of the many variants on algorithm
analysis which have made many problems tractable. Unfortunately
you have also chosen to associate yourself with trolls and the
like by choosing to have only a handle rather than a a full name.

Until you have a realistic problem statement beyond 5000 lines of
code that use double precision you will get no useful advice.
By the way, 5000 lines of code is not very big for this newsgroup.


>
> Tim Prince schrieb:
> 
>
> 30seconds,
> 
>
> on
> 
>
> to
> 
>
> what
> 
>
> must be
> 
>
> target.
> 
>
> which
> 
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Gordon Sande
05-14-05 09:05 PM


Re: best cpu
In any case, thanks for any suggestions, Mr Gordon Sande. Next time
I'll repsect the netiquette, I am sorry. The code is part of a diss and
I really know about algorisms but I wanted to know something about CPUs
and not coding. So thanks, to comment my beheaviour in 17 lines... (wt)


Report this thread to moderator Post Follow-up to this message
Old Post
Tony199
05-14-05 09:05 PM


Re: best cpu
Tony199 wrote:

> sorry, no i have not used a profiler. i just upgrade from Compaq 6.6 to
> intel fortran 8.1 and everything seems to be a bit different. where can
> i find that profiler? sorry. :-)
ifort 8.1 on linux should work well with gprof.  Does your statement imply
you are limited to Windows?  Try VTune.
--
Tim Prince

Report this thread to moderator Post Follow-up to this message
Old Post
Tim Prince
05-14-05 09:05 PM


Re: best cpu
thank you. yes i am limited to windows only. vtune, i'll try it. thanks
very much.
btw: i have found that parallelizer and openMP. so far i understand
that, it means that the parallelizer makes code that can be handled by
muli-threading. i think that will boost up the code. i saw that you
have to use especial compilation codes to especialize cpus. I will try
it out. thank you so far!!


Report this thread to moderator Post Follow-up to this message
Old Post
Tony199
05-14-05 09:05 PM


Sponsored Links




Last Thread Next Thread Next
Pages (2): [1] 2 »
Search this forum -> 
Post New Thread

Fortran archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 10:05 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.