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 

Parallel processing
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
LitusSaxonicum



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

PostPosted: Tue Nov 11, 2008 10:35 am    Post subject: Reply with quote

Hi John,

I recollect it being said that you could go higher, but never achieved it. My Win 3.1 PC went up to 1024x768 on a £500 Sony monitor.

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



Joined: 10 Mar 2008
Posts: 2959
Location: South Pole, Antarctica

PostPosted: Sat Nov 15, 2008 8:26 am    Post subject: Reply with quote

Wilfried, Yes, multicore CPUs WORK in parallel wery nicely. Look at multithreading example in FTN95 release.

I also posted here simplified to the extreme version of this example a while ago, make a search for it, so now even your dog can do parallelization.
Back to top
View user's profile Send private message
Wilfried Linder



Joined: 14 Nov 2007
Posts: 314
Location: Düsseldorf, Germany

PostPosted: Sat Nov 15, 2008 7:22 pm    Post subject: Reply with quote

Hmm... Dan, I found a thread from you concerning parallel processing (click), but I didn't found useful code there (?). In one of your postings you mentioned commands like %em (???) or %we ("write in exponential form"; ???). May be I found the wrong thread.

In the moment I think that parallel processing is a bit more complicated (hope that I'll be wrong). Of course the operating system spreads different programmes to different processors if present, but parallelsation of a single programme is in the responsibility of the developer.

I made first tests with call_pprocess@ which seems to give good results. Of course there remains some work for a good logistic between the single threads. What I'm missing are commands to spread the work to several processors from within a single programme (exe file). Nevertheless, even if it will be necessary to subdivide my software into several executables, I will use parallelisation as soon as possible. In my work I deal with image processing and up to now in some subroutines I offer a "batch" mode saying that image per image will be processed one after another. I think that these are places where parallelisation will give a significant increase of speed.

Have a nice weekend,
Wilfried
Back to top
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2959
Location: South Pole, Antarctica

PostPosted: Sat Nov 15, 2008 9:14 pm    Post subject: Re: Reply with quote

Wilfried Linder wrote:
Hmm... Dan, I found a thread from you concerning parallel processing (click), but I didn't found useful code there (?). In one of your postings you mentioned commands like %em (???) or %we ("write in exponential form"; ???). May be I found the wrong thread.


You've mentioned wrong post.
Here they are:
http://forums.silverfrost.com/viewtopic.php?t=1149&highlight=
http://forums.silverfrost.com/viewtopic.php?t=1133&highlight=
and about environment variables and number of processors
http://forums.silverfrost.com/viewtopic.php?t=1018&highlight=

Compilation: ftn95 Filename.FOR /clr /link /free /multi_threaded

You can see in Task Manager how threads grab one, two or more processors.

Quote:
In the moment I think that parallel processing is a bit more complicated (hope that I'll be wrong).

If your imaging processing data is sequential and can be easily devided into multiple independent streams (which is usually true) then
multithreading is obvious solution and it can be done using FTN95 with its rich extensions. The call_process@ can be also used but is not particularly elegant way of doing that, though may be more portable.
Above mentioned way is much more cool


Last edited by DanRRight on Sun Nov 16, 2008 6:18 am; edited 1 time in total
Back to top
View user's profile Send private message
Wilfried Linder



Joined: 14 Nov 2007
Posts: 314
Location: Düsseldorf, Germany

PostPosted: Sat Nov 15, 2008 10:27 pm    Post subject: Reply with quote

Thanks a lot, Dan. OK, this week I will implement your ideas.
Regards to Frisco from cold and foggy Germany,
Wilfried
Back to top
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2959
Location: South Pole, Antarctica

PostPosted: Sun Nov 16, 2008 10:52 pm    Post subject: Reply with quote

It's not my ideas.
It's my attemt of advertisement of capabilities of FTN95.
Which is kind of fixing of lack of company's own advertisement.
Which in its turn is done in kind of UK way.
Which seems is even worse then one of French way.
Which, finally, is not advertising anything at all Smile

just kidding

But a bit more seriosly, in my 30 years scientific life in physics I only knew 2 people (and 90-95% of them programmed in fortran at some point) who have HEARD about FTN77/95 not from me Smile

In my memory only DEC ever advertized this way (their VAXes, which were on sale like hot dogs, soooo.... may be they are eventually right)
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
Goto page Previous  1, 2
Page 2 of 2

 
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