GithubHelp home page GithubHelp logo

hpc-carpentry / hpc-chapel Goto Github PK

View Code? Open in Web Editor NEW
11.0 6.0 9.0 1003 KB

HPC Chapel lesson materials

Home Page: https://hpc-carpentry.github.io/hpc-chapel/

License: Other

Makefile 8.41% HTML 0.03% R 7.79% Python 82.40% Shell 0.63% Ruby 0.74%
lesson hpc-carpentry pre-alpha english chapel-language hpc-chapel hpc-carpentry-lab

hpc-chapel's People

Contributors

abbycabs avatar bkatiemills avatar cgeroux avatar evanwill avatar fmichonneau avatar gdevenyi avatar gvwilson avatar jduckles avatar jpallen avatar jstaf avatar maxim-belkin avatar neon-ninja avatar pbanaszkiewicz avatar pipitone avatar razoumov avatar reid-a avatar rgaiacs avatar rmdickson avatar synesthesiam avatar tkphd avatar twitwi avatar wking avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

hpc-chapel's Issues

possible issue reported by email

We've received the following feedback by email, so I'm passing it along. I let the OP know so they can chime in or follow the conversation here. Thanks!

Hello,

I have been working through your tutorial and was having some issues on the "Domains and single-locale data parallelism" section. When I use the code for the Distributed Domains, it gives me errors regarding the line:

a = "%i".format(a.locale.id) + '-' + here.name + '-' + here.maxTaskPar + ' ';

I believe something may have changed with how strings work with formatting?

No rush or pressure about this. I just wanted to let you know in case you weren't aware. It is also possible something is wrong on my end.

Thank you,

discretization in first lesson

The last section of the first lesson is confusing -- written almost as an exercise, but it's probably a "teaser" for what the course might accomplish. In doing so, it introduces a bevy of new concepts, which is not great from a pedagogical standpoint.

Recommend removing the "Case Study" section (line 98 on) from 01-intro.md.

Move `--fast` to later lessons

The --fast compiler flag is introduced in the very first episode - it should be moved to a later lesson where performance is talked about.

Add syntax highlighting to examples

Chapel syntax highlighting should work in Jekyll using pygments, as described here.

We should be able to enable syntax highlighting with:

{% highlight chapel %}
// chapel code here
{% endhighlight %}

Don't use `.o` at the end of executable file names

A lot of the examples create executables with a .o at the end of the file names, e.g.,

chpl --fast hello.chpl -o hello.o

Having an executable file with an extension .o defies the typical convention of .o files (an object file: compiled but unlinked code, which can't be executed on its own).

I would recommend (and am willing to do the work) to change the examples, for example replacing the above example with:

chpl --fast hello.chpl -o hello

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.