Skip to content

Commit

Permalink
remove test debug options
Browse files Browse the repository at this point in the history
  • Loading branch information
iulusoy committed Aug 20, 2024
1 parent 1e20d18 commit 157a4ca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
python -m pytest -svv test/test_colitest.py --cov=. --cov-report=xml
- name: compile powr with ifx
run: |
make small
make
make clean_build
make debug
- name: set up the job and run base tests
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ After installing the compiler(s) and libraries, make sure that the environment v
To compile, simply execute `make` in the base repository directory of PoWR. This will provide you with (optimized) executables in the `powr/exe.dir` directory, compiled with `ifx`, the modern Fortran compiler by Intel.

Other compilation options are:
- `make small`: Compilation with `ifx` and optimization, of only `coli` and `steal` as targets
- `make debug`: Compilation with debug options and no optimization for `ifx`, only `coli` and `steal` are compiled and the executables are placed in `powr/exe_dev.dir`
- `make debug_all`: Compilation with debug options and no optimization for `ifx`, all programs are compiled and the executables are placed in `powr/exe_dev.dir`
- `make intel_classic`: Compilation with the classic `ifort` compiler with optimization, all programs are compiled and the executables are placed in `powr/exe.dir`
Expand Down
18 changes: 1 addition & 17 deletions test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,23 +66,7 @@ def get_chain(inject_path):
print("done with makechain run")
print(os.system("ls ${POWR_WORK}"))
print(os.getcwd())
makechain_command = "${POWR_WORK}/proc.dir/makechain.com 2 -force"

try:
result = subprocess.run(
makechain_command,
shell=True,
check=True,
executable="/bin/bash",
capture_output=True,
text=True,
)
except subprocess.CalledProcessError as error:
print(error.stderr)
print(error.stdout)
assert False, "CalledProcessError error"

yield "Created chains 1 and 2"
yield "Created chain 1"
# teardown directories
# we need access to ${POWR_WORK} so shutil will not work
# why does sourcing powrconfig in the script not work?
Expand Down

0 comments on commit 157a4ca

Please sign in to comment.