IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
corsika
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pranav Sampathkumar
corsika
Commits
016b9efc
Commit
016b9efc
authored
3 years ago
by
ralfulrich
Committed by
Ralf Ulrich
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
less output, CI artefacts
parent
34444a7b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+9
-6
9 additions, 6 deletions
.gitlab-ci.yml
corsika/detail/modules/ParticleCut.inl
+0
-4
0 additions, 4 deletions
corsika/detail/modules/ParticleCut.inl
examples/cascade_proton_example.cpp
+1
-0
1 addition, 0 deletions
examples/cascade_proton_example.cpp
with
10 additions
and
10 deletions
.gitlab-ci.yml
+
9
−
6
View file @
016b9efc
...
...
@@ -253,6 +253,7 @@ build_test-clang-8:
##########################################################
# generic example template job
# normal pipeline for each commit
# artefacts are needed as input for python jobs
.build_test_example
:
stage
:
build_test_example
tags
:
...
...
@@ -269,7 +270,7 @@ build_test-clang-8:
-
cd build_examples
-
cmake -DCMAKE_BUILD_TYPE=Debug ../install/share/corsika/examples
-
cmake --build . -- -j2
-
cmake --build . --target run_examples -- -j2
| gzip -v -9 > examples.log.gz
-
cmake --build . --target run_examples -- -j2
rules
:
-
if
:
'
$CI_MERGE_REQUEST_ID
&&
($CI_MERGE_REQUEST_TITLE
=~
/^Draft:/
||
$CI_MERGE_REQUEST_TITLE
=~
/^WIP:/)'
when
:
manual
...
...
@@ -286,7 +287,7 @@ build_test-clang-8:
junit
:
-
${CI_PROJECT_DIR}/build/test_outputs/junit*.xml
paths
:
-
${CI_PROJECT_DIR}/build/build_examples/example
s.log.gz
-
${CI_PROJECT_DIR}/build/build_examples/example
_outputs
-
${CI_PROJECT_DIR}/build/test_outputs/junit*.xml
# build_test_example for gcc
...
...
@@ -367,7 +368,7 @@ install-clang-8:
-
cd build_examples
-
cmake -DCMAKE_BUILD_TYPE=Release ../install/share/corsika/examples
-
cmake --build . -- -j2
-
cmake --build . --target run_examples -- -j2
| gzip -v -9 > examples.log.gz
-
cmake --build . --target run_examples -- -j2
rules
:
-
if
:
'
$CI_MERGE_REQUEST_LABELS
=~
/Ready
for
code
review/'
# run on merge requests, if label 'Ready for code review' is set
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
...
...
@@ -386,7 +387,6 @@ install-clang-8:
junit
:
-
${CI_PROJECT_DIR}/build/test_outputs/junit*.xml
paths
:
-
${CI_PROJECT_DIR}/build/build_examples/examples.log.gz
-
${CI_PROJECT_DIR}/build/test_outputs/junit*.xml
# release for gcc
...
...
@@ -476,6 +476,9 @@ sanity:
when
:
manual
allow_failure
:
true
###### Python ##########
##########################################################
# template for all Python jobs
.python
:
...
...
@@ -502,8 +505,8 @@ python-3.8:
extends
:
.python
image
:
corsika/devel:u-18.04
needs
:
-
job
:
build-u-18_04
artifacts
:
fals
e
-
job
:
build
_test_example
-u-18_04
artifacts
:
tru
e
artifacts
:
when
:
always
expire_in
:
1 year
...
...
This diff is collapsed.
Click to expand it.
corsika/detail/modules/ParticleCut.inl
+
0
−
4
View file @
016b9efc
...
...
@@ -38,7 +38,6 @@ namespace corsika {
"hadrons = {} GeV, "
"muons = {} GeV"
,
eEleCut
/
1
_GeV
,
ePhoCut
/
1
_GeV
,
eHadCut
/
1
_GeV
,
eMuCut
/
1
_GeV
);
printThresholds
();
}
inline
ParticleCut
::
ParticleCut
(
HEPEnergyType
const
eHadCut
,
HEPEnergyType
const
eMuCut
,
...
...
@@ -61,7 +60,6 @@ namespace corsika {
"setting thresholds: hadrons = {} GeV, "
"muons = {} GeV"
,
eHadCut
/
1
_GeV
,
eMuCut
/
1
_GeV
);
printThresholds
();
}
inline
ParticleCut
::
ParticleCut
(
HEPEnergyType
const
eCut
,
bool
const
em
,
bool
const
inv
)
...
...
@@ -76,7 +74,6 @@ namespace corsika {
for
(
auto
p
:
get_all_particles
())
set_kinetic_energy_threshold
(
p
,
eCut
);
CORSIKA_LOG_DEBUG
(
"setting kinetic energy threshold for all particles to {} GeV"
,
eCut
/
1
_GeV
);
printThresholds
();
}
inline
ParticleCut
::
ParticleCut
(
...
...
@@ -92,7 +89,6 @@ namespace corsika {
,
inv_count_
(
0
)
{
set_kinetic_energy_thresholds
(
eCuts
);
CORSIKA_LOG_DEBUG
(
"setting threshold particles individually"
);
printThresholds
();
}
template
<
typename
TParticle
>
...
...
This diff is collapsed.
Click to expand it.
examples/cascade_proton_example.cpp
+
1
−
0
View file @
016b9efc
...
...
@@ -127,6 +127,7 @@ int main() {
// sibyll::Decay decay;
corsika
::
pythia8
::
Decay
decay
;
ParticleCut
cut
(
60
_GeV
,
true
,
true
);
cut
.
printThresholds
();
// RNGManager::getInstance().registerRandomStream("HadronicElasticModel");
// HadronicElasticModel::HadronicElasticInteraction
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment