Reformatted some command line statements.
Replaced " by ' in command line statements, as these gave issues in copy/paste to Linux command line.
This commit is contained in:
parent
53ea1d338c
commit
b961b06bb6
@ -22,8 +22,7 @@
|
|||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 1,
|
"execution_count": 1,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"collapsed": false,
|
"collapsed": false
|
||||||
"scrolled": true
|
|
||||||
},
|
},
|
||||||
"outputs": [
|
"outputs": [
|
||||||
{
|
{
|
||||||
@ -230,7 +229,7 @@
|
|||||||
"%%bash\n",
|
"%%bash\n",
|
||||||
"# To be sure we see some output from the compiler, we'll echo out \"Compiled Successfully!\" \n",
|
"# To be sure we see some output from the compiler, we'll echo out \"Compiled Successfully!\" \n",
|
||||||
"#(if the compile does not return an error)\n",
|
"#(if the compile does not return an error)\n",
|
||||||
"pgcc -fast -o task1_pre_out task1/task1.c && echo \"Compiled Successfully!\""
|
"pgcc -fast -o task1_pre_out task1/task1.c && echo 'Compiled Successfully!'"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -262,7 +261,8 @@
|
|||||||
],
|
],
|
||||||
"source": [
|
"source": [
|
||||||
"%%bash\n",
|
"%%bash\n",
|
||||||
"# Execute our single-thread CPU-only Jacobi Iteration to get timing information. Make sure you compiled successfully in the \n",
|
"# Execute our single-thread CPU-only Jacobi Iteration to get timing information. \n",
|
||||||
|
"# Make sure you compiled successfully in the \n",
|
||||||
"# above command first.\n",
|
"# above command first.\n",
|
||||||
"./task1_pre_out"
|
"./task1_pre_out"
|
||||||
]
|
]
|
||||||
@ -337,7 +337,7 @@
|
|||||||
],
|
],
|
||||||
"source": [
|
"source": [
|
||||||
"%%bash\n",
|
"%%bash\n",
|
||||||
"pgcc -Minfo=all,ccff -fast -o task1/task1_simple_out task1/task1_simple.c && echo \"Compiled Successfully!\""
|
"pgcc -Minfo=all,ccff -fast -o task1/task1_simple_out task1/task1_simple.c && echo 'Compiled Successfully!'"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -454,7 +454,7 @@
|
|||||||
"# Compile the task2.c file with the pgcc compiler\n",
|
"# Compile the task2.c file with the pgcc compiler\n",
|
||||||
"# -acc tells the compiler to process the source recognizing #pragma acc directives\n",
|
"# -acc tells the compiler to process the source recognizing #pragma acc directives\n",
|
||||||
"# -Minfo tells the compiler to share information about the compilation process\n",
|
"# -Minfo tells the compiler to share information about the compilation process\n",
|
||||||
"pgcc -acc -Minfo -fast -ta=tesla -o task2_out task2/task2.c && echo \"Compiled Successfully\""
|
"pgcc -acc -Minfo -fast -ta=tesla -o task2_out task2/task2.c && echo 'Compiled Successfully'"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -609,7 +609,7 @@
|
|||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"%%bash\n",
|
"%%bash\n",
|
||||||
"pgcc -fast -acc -Minfo=accel -ta=tesla -o task3_out task3/task3.c && echo \"Compiled Successfully\""
|
"pgcc -fast -acc -Minfo=accel -ta=tesla -o task3_out task3/task3.c && echo 'Compiled Successfully'"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -777,7 +777,7 @@
|
|||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"%%bash\n",
|
"%%bash\n",
|
||||||
"pgcc -acc -Minfo=accel -fast -ta=tesla -o task4_out task4/task4.c && echo \"Compiled Successfully\""
|
"pgcc -acc -Minfo=accel -fast -ta=tesla -o task4_out task4/task4.c && echo 'Compiled Successfully'"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -836,7 +836,7 @@
|
|||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"%%bash\n",
|
"%%bash\n",
|
||||||
"pgcc -acc -fast -ta=tesla -Minfo=accel -o task4_out task4/task4.c && echo \"Compiled Successfully\""
|
"pgcc -acc -fast -ta=tesla -Minfo=accel -o task4_out task4/task4.c && echo 'Compiled Successfully'"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -931,7 +931,7 @@
|
|||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"%%bash\n",
|
"%%bash\n",
|
||||||
"pgcc -acc -fast -ta=tesla -Minfo=accel -o task4_4096_out task4/task4_4096_solution.c && echo \"Compiled Successfully\""
|
"pgcc -acc -fast -ta=tesla -Minfo=accel -o task4_4096_out task4/task4_4096_solution.c && echo 'Compiled Successfully'"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user