Chapter 35
For the Home Team

35.1 How to make the PC version of NC

The NC.zip entire structure can be made from any person’s account.

 
 
first use the command  
 
"tar -cvf ~/NC.tar  *"  
 
This will create the "tar"ed file in YOUR root directory.  
 
Go to your root directory and make a new directory  
ncgbWIN with  
 
"mkdir NCWin"  
 
and move NC.tar in to this directory.  
 
"mv NC.tar NCWin/NC.tar"  
 
change the current directory  
 
"cd ncgbWin"  
 
Untar the file with  
 
"tar -xvf NC.tar"  
 
This will recreate the NC structure.  
 
run the shell script in this directory "makeWin.sh"  
in the ncgbWin directory.   (This will make all the text  
files in subdirectories DOS (add a ˆM))  
 
go to NCWin/NCGB/MmaSource/"      and edit  
the file  
 
"NCGBPlatformSpecific.m "  
 
Edit the file "TypesOfStrategyOutput.m" to   take the "&"  
out of the xdvi command.   Xdvi.  
 
 
You will have to change the Binary Name and  
LaTeXCommand and dviCommand to reflect a common LaTex setup  
on the Windows.  
 
go back to rootdirectory/NCWin/NCGB/Compile  and remove  
the unnecessary object files  
 
 
"/usr/bin/rm *.o"  
 
Similarly go to rootdirectory/NCWin/NCGB/Binary and remove the  
UNIX executable.  
 
"rm p9c"  
 
return to rootdirectory/NCWin  and  
 
"rm NC.tar"  
 
Now compress the NCAlgebra structure  
into a PC compatible form.  
 
"zip -r NC.zip *"  
 
 
ftp this onto your PC....  
 
Make directory  NC and  decompress NC.zip in it.  
 
Make directory  NC/work and put a mathematica notebook  
in it with the following:  
 
Get["c:/NC/SetNCPath.m"];  
Get["NCGB.m"];  
ClearMonomialOrderAll[];  
SetMonomialOrder[a,b];  
NCProcess[{a**b**a**b + b**a**b**a}, 2 , "TestFile" ];