Skip to content

Commit

Permalink
Binary: Lowercase impactx
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Oct 26, 2021
1 parent 5dc2264 commit 9bd470d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
cd build/bin
export OMP_NUM_THREADS=2
./impactX
./impactx
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ cmake --build build_perlmutter -j 10

# run
cd build_perlmutter/bin
srun -N 1 --ntasks-per-node=4 -t 0:10:00 -C gpu -c 32 -G 4 --qos=debug -A m3906_g ./impactX
srun -N 1 --ntasks-per-node=4 -t 0:10:00 -C gpu -c 32 -G 4 --qos=debug -A m3906_g ./impactx
```

### Cori KNL (NERSC)
Expand All @@ -92,7 +92,7 @@ cmake --build build_cori -j 8

# run
cd build_cori/bin
srun -C knl -N 1 -t 30 -q debug ./impactX
srun -C knl -N 1 -t 30 -q debug ./impactx
```

### Homebrew (macOS)
Expand Down
6 changes: 3 additions & 3 deletions cmake/ImpactXFunctions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function(set_ImpactX_binary_name)
list(APPEND ImpactX_bin_names shared)
endif()
foreach(tgt IN LISTS _ALL_TARGETS)
set_target_properties(${tgt} PROPERTIES OUTPUT_NAME "impactX")
set_target_properties(${tgt} PROPERTIES OUTPUT_NAME "impactx")

if(ImpactX_MPI)
set_property(TARGET ${tgt} APPEND_STRING PROPERTY OUTPUT_NAME ".MPI")
Expand Down Expand Up @@ -198,7 +198,7 @@ function(set_ImpactX_binary_name)
add_custom_command(TARGET app POST_BUILD
COMMAND ${CMAKE_COMMAND} -E create_symlink
$<TARGET_FILE_NAME:app>
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/impactX
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/impactx
)
endif()
if(ImpactX_LIB)
Expand All @@ -210,7 +210,7 @@ function(set_ImpactX_binary_name)
add_custom_command(TARGET shared POST_BUILD
COMMAND ${CMAKE_COMMAND} -E create_symlink
$<TARGET_FILE_NAME:shared>
$<TARGET_FILE_DIR:shared>/libImpactX.${lib_suffix}.${mod_ext}
$<TARGET_FILE_DIR:shared>/libimpactx.${mod_ext}
)
endif()
endfunction()
Expand Down

0 comments on commit 9bd470d

Please sign in to comment.