See the web front-end at https://omploophelper-online-production.up.railway.app/
This program performs 5 steps to analyze each marked for loop for OpenMP parallelization compatibility:
- match for loop
- check that loop is pragma-compatible (structured block)
- check for collapse pragma compatibility
- check for memory conflict with recursive method
- generate suggested omp pragma parameters
- Have c code, with at least one for loop
- Add this comment immediately before the loop(s) you want to be analyzed:
//@omp-analysis=true
- Run compiled program:
./OMPLoopHelper.x <c code filepath>
- Run program with interpreter:
txl OMPLoopHelper.txl <c code filepath> -comment -q
- Compile program:
txlc OMPLoopHelper.txl -comment -q
Argument | Flag | Info |
---|---|---|
Verbose | - v | Gives more information on suggested pragma parameters |
Debug (development) | - db | For development purposes. Use to show TXL program debugging messages. You can add new debug messages with [printdb] and [messagedb] functions. |
Both (verbose and debug) | - v db |
- Run automated tests:
python3 runTests.py
- Include individual test output:
python3 runTests.py -v