ftp.nice.ch/pub/next/unix/developer/pcn.2.0.s.tar.gz#/examples/v1.2.2/Foreign

Makefile
 
README
 
test1.f
 
test1.pcn
 

README

This directory contains a simple example and a Makefile. The
example is self contained; with the problem specification in a comment at
the top of each file. 

Compiling fortran code for a particular architecture, type:
   `make sun4'    /* for the sun4 */
   `make s2010'   /*  for the s2010 node */
   `make i860'    /*  for the ipsc860 node */
   `make symmetry' /*  for the symmetry */
   `make NeXT'     /*  for the NeXT */

Compiling the pcn code:
   `make test1'

To build the host program for the Cosmic Environment-S2010, type:
   `make host'

Building a custom pcn which integrate the pcn and fortran code,
for a particular architecture, type:
   `make snode'     /*  for the s2010 node */
   `make inode'      /* for ipsc860 node */


Running your custom pcn:
S2010:
   getmc s2010 4 mem=4    /* allocate 4 S2010 nodes, with minimun 4 Meg */
   mypcn -nk 240      /* invoke custom pcn setting node stack size to 240k */
		      /* due to limited s2010 node memory */
   test1:go()         /* run the program! you should see AP=70.0000000 */

iPSC860:
   runpcn -t 4 mypcni860  /* allocate 4 iPSC860 nodes and download custom pcn */
   test1:go()         /* run the program! you should see AP=70.0000000 */
Sun4:
   mypcn -uni         /* invoke pcn on a uni-processor */
   test1:go()	      /* run the program!  you should see AP=70.0000000 */


These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.