From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,99ff2a54440f719d X-Google-Attributes: gidf7344,public X-Google-Thread: 10f8a1,99ff2a54440f719d X-Google-Attributes: gid10f8a1,public X-Google-Thread: 1164f8,99ff2a54440f719d X-Google-Attributes: gid1164f8,public From: mathog@seqaxp.bio.caltech.edu Subject: Re: Multiple CPUs: getting them all working... Date: 1998/11/19 Message-ID: <731g4p$2ap@gap.cco.caltech.edu>#1/1 X-Deja-AN: 413545131 References: Organization: Biology Division, Caltech, Pasadena CA 91125 Reply-To: mathog@seqaxp.bio.caltech.edu Newsgroups: vmsnet.alpha,comp.os.vms,comp.sys.dec In article , 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 * **************************************************************************