This server is intended for use for Academic Classwork related Git repositories only. Projects/repositories will generally be removed after 6 months following close of the semester. Inactive repositories from previous semester are now being archived when no activity for 365 days. They are renamed and marked as 'archived'. After 90 days in that state they will be removed from the system completely.

finished running on the foundry

parent 13b56838
......@@ -7,7 +7,7 @@ using namespace std;
using namespace chrono;
const int MAX = 2147483647;
const int ARR_SIZE = 100;
const int ARR_SIZE = 1000;
int main(int argc, char* argv[])
......@@ -61,4 +61,4 @@ int main(int argc, char* argv[])
return 0;
}
\ No newline at end of file
File added
......@@ -6,7 +6,7 @@ using namespace std;
using namespace chrono;
const int MAX = 2147483647;
const int ARR_SIZE = 100;
const int ARR_SIZE = 1000;
int main(int argc, char* argv[])
......@@ -59,4 +59,4 @@ int main(int argc, char* argv[])
return 0;
}
\ No newline at end of file
File added
#!/bin/bash
#SBATCH --export=all
g++ nothreads.cpp -o nothreads.run
./nothreads.run
Starting execution.
Minimum number of multiplications is 2706000
Execution time: 0m0s.
Starting execution.
Minimum number of multiplications is 29117000
Execution time: 0m0s.
Starting execution.
Minimum number of multiplications is 5815000
Execution time: 0m0s.
Starting execution.
Minimum number of multiplications is 10156000
Execution time: 0m0s.
Starting execution.
Minimum number of multiplications is 11658000
Execution time: 0m0s.
Starting execution.
Minimum number of multiplications is 14957000
Execution time: 0m0s.
Starting execution.
Minimum number of multiplications is 17066000
Execution time: 0m0s.
Starting execution.
Minimum number of multiplications is 21078000
Execution time: 0m0s.
Starting execution.
Minimum number of multiplications is 25222000
Execution time: 0m0s.
Starting execution.
Minimum number of multiplications is 27060000
Execution time: 0m0s.
#!/bin/bash
#SBATCH --export=all
g++ -fopenmp main.cpp -o main.run
./main.run
Starting execution.
Minimum number of multiplications is 2794000
Execution time: 0m0s.
Starting execution.
Minimum number of multiplications is 28898000
Execution time: 0m0s.
Starting execution.
Minimum number of multiplications is 5296000
Execution time: 0m0s.
Starting execution.
Minimum number of multiplications is 9414000
Execution time: 0m0s.
Starting execution.
Minimum number of multiplications is 11831000
Execution time: 0m0s.
Starting execution.
Minimum number of multiplications is 15052000
Execution time: 0m0s.
Starting execution.
Minimum number of multiplications is 17667000
Execution time: 0m0s.
Starting execution.
Minimum number of multiplications is 21686000
Execution time: 0m0s.
Starting execution.
Minimum number of multiplications is 23011000
Execution time: 0m0s.
Starting execution.
Minimum number of multiplications is 26381000
Execution time: 0m0s.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment