<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.csi.cuny.edu/cunyhpc/index.php?action=history&amp;feed=atom&amp;title=GAUSS</id>
	<title>GAUSS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.csi.cuny.edu/cunyhpc/index.php?action=history&amp;feed=atom&amp;title=GAUSS"/>
	<link rel="alternate" type="text/html" href="https://wiki.csi.cuny.edu/cunyhpc/index.php?title=GAUSS&amp;action=history"/>
	<updated>2026-05-08T21:04:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://wiki.csi.cuny.edu/cunyhpc/index.php?title=GAUSS&amp;diff=86&amp;oldid=prev</id>
		<title>James: Created page with &quot;A SLURM submit script for GAUSS that runs on 1 processor (core) follows:  &lt;pre&gt; #!/bin/bash #SBATCH --partition production #SBATCH --job-name GAUSS_job #SBATCH --nodes=1 #SBATCH --ntasks=1 #SBATCH --mem=2880   # Find out name of master execution host (compute node) echo -n &quot;&gt;&gt;&gt;&gt; SLURM Master compute node is: &quot; hostname echo &quot;&quot;  # You must explicitly change to the working directory in SLURM cd $SLURM_SUBMIT_DIR  # # Point to the serial executable to run # echo &quot;&gt;&gt;&gt;&gt; Begin...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.csi.cuny.edu/cunyhpc/index.php?title=GAUSS&amp;diff=86&amp;oldid=prev"/>
		<updated>2022-10-20T20:05:47Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;A SLURM submit script for GAUSS that runs on 1 processor (core) follows:  &amp;lt;pre&amp;gt; #!/bin/bash #SBATCH --partition production #SBATCH --job-name GAUSS_job #SBATCH --nodes=1 #SBATCH --ntasks=1 #SBATCH --mem=2880   # Find out name of master execution host (compute node) echo -n &amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;gt; SLURM Master compute node is: &amp;quot; hostname echo &amp;quot;&amp;quot;  # You must explicitly change to the working directory in SLURM cd $SLURM_SUBMIT_DIR  # # Point to the serial executable to run # echo &amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Begin...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A SLURM submit script for GAUSS that runs on 1 processor (core) follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#SBATCH --partition production&lt;br /&gt;
#SBATCH --job-name GAUSS_job&lt;br /&gt;
#SBATCH --nodes=1&lt;br /&gt;
#SBATCH --ntasks=1&lt;br /&gt;
#SBATCH --mem=2880&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Find out name of master execution host (compute node)&lt;br /&gt;
echo -n &amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;gt; SLURM Master compute node is: &amp;quot;&lt;br /&gt;
hostname&lt;br /&gt;
echo &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# You must explicitly change to the working directory in SLURM&lt;br /&gt;
cd $SLURM_SUBMIT_DIR&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Point to the serial executable to run&lt;br /&gt;
#&lt;br /&gt;
echo &amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Begin GAUSS Serial Run ...&amp;quot;&lt;br /&gt;
# Static executable&lt;br /&gt;
/share/apps/gauss/default/tgauss.static &amp;lt; ./pxyz.e &amp;gt; pxyz.out&lt;br /&gt;
#&lt;br /&gt;
# Dynamic executable&lt;br /&gt;
#/share/apps/gauss/default/tgauss &amp;lt; ./quantile.e &amp;gt; gauss.out&lt;br /&gt;
#&lt;br /&gt;
echo &amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;gt; End   GAUSS Serial Run ...&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, the file pxyz.e was taken from the GAUSS examples in /share/apps/gauss/examples.&lt;br /&gt;
Upon successful completion, a run file &amp;quot;graphic.tkf&amp;quot; should be created in working directory. &lt;br /&gt;
&lt;br /&gt;
pxyz.e:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
library pgraph;&lt;br /&gt;
graphset;&lt;br /&gt;
&lt;br /&gt;
let v = 100 100 640 480 0 0 1 6 15 0 0 2 2;&lt;br /&gt;
wxyz = WinOpenPQG( v, &amp;quot;XYZ Plot&amp;quot;, &amp;quot;XYZ&amp;quot; );&lt;br /&gt;
call WinSetActive( wxyz );&lt;br /&gt;
&lt;br /&gt;
begwind;&lt;br /&gt;
makewind(9,6.855,0,0,1);&lt;br /&gt;
makewind(9/2.9,6.855/2.9,0,0,0);&lt;br /&gt;
makewind(9/2.9,6.855/2.9,0,3.8,0);&lt;br /&gt;
_psurf = 0;&lt;br /&gt;
title(&amp;quot;\202XYZ Curve - \201Toroidal Spiral&amp;quot;);&lt;br /&gt;
fonts(&amp;quot;simplex complex&amp;quot;);&lt;br /&gt;
xlabel(&amp;quot;X&amp;quot;);&lt;br /&gt;
ylabel(&amp;quot;Y&amp;quot;);&lt;br /&gt;
zlabel(&amp;quot;Z&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
setwind(1);&lt;br /&gt;
t = seqa(0,.0157,401);&lt;br /&gt;
a = .2; b=.8; c=20;&lt;br /&gt;
x = 3*((a*sin(c*t)+b) .* cos(t));&lt;br /&gt;
y = 3*((a*sin(c*t)+b) .* sin(t));&lt;br /&gt;
z = a*cos(c*t);&lt;br /&gt;
margin(.5,0,0,0);&lt;br /&gt;
ztics(-.3,.3,.3,0);&lt;br /&gt;
_pcolor = 10;&lt;br /&gt;
view(-3,-2,4);&lt;br /&gt;
volume(1,1,.7);&lt;br /&gt;
_plwidth = 5;&lt;br /&gt;
xyz(x,y,z);&lt;br /&gt;
&lt;br /&gt;
nextwind;&lt;br /&gt;
margin(0,0,0,0);&lt;br /&gt;
title(&amp;quot;&amp;quot;);&lt;br /&gt;
x = x .* (sin(z)/10);&lt;br /&gt;
_paxes = 0;&lt;br /&gt;
_pframe = 0;&lt;br /&gt;
_pbox = 13;&lt;br /&gt;
_pcolor = 11;&lt;br /&gt;
_plwidth = 0;&lt;br /&gt;
view(15,2,10);&lt;br /&gt;
xyz(x,y,z);&lt;br /&gt;
&lt;br /&gt;
nextwind;&lt;br /&gt;
_pcolor = 9;&lt;br /&gt;
a = .4; b=.4; c=15;&lt;br /&gt;
x = 3*((a*sin(c*t)+b) .* cos(t));&lt;br /&gt;
y = 3*((a*sin(c*t)+b) .* sin(t));&lt;br /&gt;
z = a*cos(c*t);&lt;br /&gt;
volume(1,1,.4);&lt;br /&gt;
xyz(x,y,z);&lt;br /&gt;
&lt;br /&gt;
endwind;&lt;br /&gt;
&lt;br /&gt;
call WinSetActive( 1 );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
</feed>