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:
F. Dijkstra 2017-06-20 16:36:12 +02:00
parent 53ea1d338c
commit b961b06bb6
1 changed files with 10 additions and 10 deletions

View File

@ -22,8 +22,7 @@
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false,
"scrolled": true
"collapsed": false
},
"outputs": [
{
@ -230,7 +229,7 @@
"%%bash\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",
"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": [
"%%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",
"./task1_pre_out"
]
@ -337,7 +337,7 @@
],
"source": [
"%%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",
"# -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",
"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": [],
"source": [
"%%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": [],
"source": [
"%%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": [],
"source": [
"%%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": [],
"source": [
"%%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'"
]
},
{