Dupe checking + Chapel Language - Hurrah!
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ChapelTesting-Python3
FileChecking-with-Chapel Update README.md Feb 16, 2019
.gitignore add to gitignore Feb 15, 2019
README.md Update README.md Feb 16, 2019
archive.zip compress archives Feb 15, 2019

README.md

ChapelTests

Repo in light of PSU OS course

Test FileCheck.chpl from this repo:


git clone https://github.com/Jesssullivan/ChapelTests

cd chapeltests/ChapelTesting-Python3/

chpl ../FileChecking-with-Chapel/FileCheck.chpl

# For same parallel domain read but parallel vs. serial evaluation:

python3 Timer_FileCheck.py

# for (questionable but) entirely serial evaluation:

python3 Timer_PURE_Serial.py

FileCheck.chpl provides both parallel and serial methods for recursive duplicate file finding in Cray’s Chapel Language. Both solutions will be “slow”, as they are fundamentally limited by disk speed. Go to /FileChecking-with-Chapel/ for more information on this script. Timer_FileCheck.py and other tests evaluate completion times for both Serial and parallel options. Go to /ChapelTesting-Python3/ for more information on these tests.

Get some Chapel:

In a (bash) shell, install Chapel:
Mac or Linux here, others refer to:

https://chapel-lang.org/docs/usingchapel/QUICKSTART.html

# For Linux bash:
git clone https://github.com/chapel-lang/chapel
tar xzf chapel-1.18.0.tar.gz
cd chapel-1.18.0
source util/setchplenv.bash
make
make check

#For Mac OSX bash:
# Just use homebrew
brew install chapel # :)

Get atom editor for Chapel Language support:

#Linux bash:
cd
sudo apt-get install atom
apm install language-chapel
# atom [yourfile.chpl]  # open/make a file with atom

# Mac OSX (download):
# https://github.com/atom/atom
# bash for Chapel language support
apm install language-chapel
# atom [yourfile.chpl]  # open/make a file with atom

Using the Chapel compiler

To compile with Chapel:

chpl MyFile.chpl # chpl command is self sufficient

# chpl one file class into another:

chpl -M classFile runFile.chpl 

# to run a Chapel file:
./runFile