Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mathog@seqaxp.bio.caltech.edu
Subject: Re: Multiple CPUs: getting them all working...
Date: 1998/11/19	[thread overview]
Message-ID: <731g4p$2ap@gap.cco.caltech.edu> (raw)
In-Reply-To: siwfwZ4shKAh@mcrcr6

In article <siwfwZ4shKAh@mcrcr6>, smithp01@mcrcr6.med.nyu.edu writes:
>We have started dabbling in multi-processor software and obtained a database 
>search program that is meant to run using all available CPUs in the box. We 
>have a 4-CPU 4100, VMS 7.1, Patches include ALPPTHR02, ALPSYSA02, ALPBASE02 
>but we don't have ALPTHREADS_03.
>
>With help from many people (some of whom may be reading this here) we managed 
>to get the programs running in multi-thread mode.  This was excellent news.  
>But the software on an empty machine only seems to use 2 of the four CPUs.

This doesn't happen to be FASTA does it?  If it is, you might have a look
at thr.h, where you will find:

#ifndef MAX_WORKERS
#define MAX_WORKERS 2
#endif

which could be the source of your problems!  You will also notice
in that case in MAKEFILE.UNX you will find on the CC line "-DMAX_WORKERS=4".
On the make_vms.com that I have (a couple of years old) there is
a /define for MAX_WORKERS=4, but I built that one by hand, and the default
VMS build procedure (if there was one, don't recall), may not set that.

Regards,

David Mathog
mathog@seqaxp.bio.caltech.edu
Manager, sequence analysis facility, biology division, Caltech 
**************************************************************************
*                                RIP VMS                                 *
**************************************************************************



  parent reply	other threads:[~1998-11-19  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-18  5:00 Multiple CPUs: getting them all working smithp01
1998-11-18  5:00 ` Peter LANGSTOEGER
1998-11-18  5:00   ` Bob Boylan
1998-11-19  5:00 ` mathog [this message]
1998-11-19  5:00 ` Dale Dellutri
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox