replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Compiled program runs slow
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compiled program runs slow

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
arctica



Joined: 10 Sep 2006
Posts: 146
Location: United Kingdom

PostPosted: Fri Jul 19, 2013 3:31 pm    Post subject: Compiled program runs slow Reply with quote

Hello

I have compiled a Fortran95 program on my work machine and it seems to run slower than when I compiled on my home PC.

Work: 16Gb RAM Win7 64bit Enterprise (4 mins to run job)
Home: 4Gb RAM win7 64bit Home-Premium (2-3 mins run)

I checked the options for Fortran application and /Debug and /checkmate are on. I can't see what the "off" switch is for these things as I am sure this would speed things up at run-time.

Cheers

Lester
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2402
Location: Yateley, Hants, UK

PostPosted: Fri Jul 19, 2013 4:30 pm    Post subject: Reply with quote

Lester,

The most probable explanation is that your work PC is a lot slower than your home PC, despite having more RAM. Before I retired I was cursed with a work machine that ran at a snail's pace, and if I wanted to do anything meaningful I did it at home. Companies buy loads of machines to a basic specification, i.e. with slow cpu speeds. Corporates buy multiple Windows licences, and that normally comes with top spec versions of Windows, allowing them to be remotely supported by your IT group.

If you work for a University, find an obliging secretary and use the machine they work on, out of hours. The admin staff always get higher spec machines just so they can run MS word faster...

Eddie
Back to top
View user's profile Send private message
arctica



Joined: 10 Sep 2006
Posts: 146
Location: United Kingdom

PostPosted: Sat Jul 20, 2013 12:08 pm    Post subject: Reply with quote

Seems odd that my home Pc will run the same code faster than the work one that has more RAM and I think a faster chip too!

Is there a way to compile the code without the debug bits so it can run better all round? Seems for appliations /checkmate and /debug are on default and greyed-out when I looked.

The other oddity was that the code I compiled on my home pc which ran fine, when transferred to the work one gave run-time errors, so I had to recompile at work and tweak the code a bit.

Is there a machine dependency option I need to be aware of when building?

Cheers
Lester
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2402
Location: Yateley, Hants, UK

PostPosted: Sat Jul 20, 2013 12:46 pm    Post subject: Reply with quote

Depends on what you mean by faster. If it is rated higher because it has more cores but a slower processor speed, then you might just see the latter. Also some IT sections add software for remote management that you won't see running on your home PC.

There are hardware dependency switches in FTN95, but they all relate to pretty obsolete things.

What are the specs, what is the timing difference, or is it subjective?

E
Back to top
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2615
Location: Sydney

PostPosted: Sun Jul 21, 2013 12:40 pm    Post subject: Reply with quote

If you are running the program on a network drive on the work computer and there is a lot of disk reading and writing, then this could slow it down.

You could run task manager and see what is the cpu time and disk usage.

Switching the program to run on the c: drive would fix that up.

If this does not explain the problem, then you will have to do more searching to get an explaination.

John
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group