diff options
author | Ian Bertolacci <ian.bertolacci@gmail.com> | 2015-08-02 15:44:16 -0700 |
---|---|---|
committer | Ian Bertolacci <ian.bertolacci@gmail.com> | 2015-08-02 15:44:16 -0700 |
commit | 27cc82076214e68d9d93c90aafe5ae567fe78892 (patch) | |
tree | 3d98fb0ea4d5c0d04fef85fed42aea3fd6b07895 | |
parent | b27d5268227f8812c894a217a08fd8c6221d1797 (diff) |
Uniform tics, noteable arguments addition.
Changed all N-tics for preformatted/code text into single tics if that code was sinle line (i.e. bash commands, compiler arguments)
Added --main-module, --module-dir to Notable arguments section.
Realized that the text <blah blah> was disappering, so changed it to `<bla bla>`. Need to confirm it success.
-rw-r--r-- | chapel.html.markdown | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/chapel.html.markdown b/chapel.html.markdown index d8783728..14bbe9f5 100644 --- a/chapel.html.markdown +++ b/chapel.html.markdown @@ -968,9 +968,8 @@ Occasionally check back here and on the [Chapel site](http://chapel.cray.com) to ### What this tutorial is lacking: - * Modules and standard modules + * Exposition of the standard modules * Multiple Locales (distributed memory system) - * ```proc main(){ ... }``` * Records * Whole/sliced array assignment * Range and domain slicing @@ -994,26 +993,28 @@ Chapel can be built and installed on your average 'nix machine (and cygwin). [Download the latest release version](https://github.com/chapel-lang/chapel/releases/) and its as easy as - 1. ```tar -xvf chapel-1.11.0.tar.gz``` - 2. ```cd chapel-1.11.0``` - 3. ```make``` - 4. ```source util/setchplenv.bash # or .sh or .csh or .fish``` + 1. `tar -xvf chapel-1.11.0.tar.gz` + 2. `cd chapel-1.11.0` + 3. `make` + 4. `source util/setchplenv.bash # or .sh or .csh or .fish` You will need to `source util/setchplenv.EXT` from within the Chapel directory (`$CHPL_HOME`) every time your terminal starts so its suggested that you drop that command in a script that will get executed on startup (like .bashrc). Chapel is easily installed with Brew for OS X - 1. ```brew update``` - 2. ```brew install chapel``` + 1. `brew update` + 2. `brew install chapel` Compiling Code -------------- Builds like other compilers: -```chpl myFile.chpl -o myExe``` +`chpl myFile.chpl -o myExe` Notable arguments: - * ``--fast``: enables a number of optimizations and disables array bounds checks. Should only enable when application is stable. - * ```--set <Symbol Name>=<Value>```: set config param <Symbol Name> to <Value> at compile-time + * `--fast`: enables a number of optimizations and disables array bounds checks. Should only enable when application is stable. + * `--set <Symbol Name>=<Value>`: set config param `<Symbol Name>` to `<Value>` at compile-time. + * `--main-module <Module Name>`: use the main() procedure found in the module `<Module Name>` as the executable's main. + * `--module-dir <Directory>`: includes `<Directory` in the module search path.
\ No newline at end of file |