Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository 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
hpc-team
HPCasCode
Commits
6ae725a1
Commit
6ae725a1
authored
4 years ago
by
lche0021
Browse files
Options
Downloads
Patches
Plain Diff
fix bug in smoke_test where name/ver being empty
parent
48939e84
No related branches found
No related tags found
2 merge requests
!464
Fix listdeps
,
!442
Smoke test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
smoke_test/generate_bin_test
+1
-1
1 addition, 1 deletion
smoke_test/generate_bin_test
smoke_test/smoke_test
+9
-0
9 additions, 0 deletions
smoke_test/smoke_test
smoke_test/software_usage.txt
+0
-2
0 additions, 2 deletions
smoke_test/software_usage.txt
with
10 additions
and
3 deletions
smoke_test/generate_bin_test
+
1
−
1
View file @
6ae725a1
#!/bin/bash
NUM_MODULE
=
${
2
:-
100
}
NUM_MODULE
=
${
1
:-
100
}
TESTCASE_DIR
=
'./tests'
...
...
This diff is collapsed.
Click to expand it.
smoke_test/smoke_test
+
9
−
0
View file @
6ae725a1
...
...
@@ -33,10 +33,18 @@ fi
declare
-a
modules
IFS_orig
=
$IFS
IFS
=
$'
\n
'
for
i
in
$(
head
-n
$NUM_MODULE
$USAGE_REPORT
)
;
do
m
=
$(
sed
-n
's/\(.*\)\/\(.*\) - \(.*\)/\1 \2/p'
<<<
$i
)
name
=
$(
cut
-f1
-d
' '
<<<
$m
)
ver
=
$(
cut
-f2
-d
' '
<<<
$m
)
printf
"
\n\n
=========================
\n
"
if
[
-z
$name
]
;
then
continue
fi
echo
"Testing
$name
/
$ver
... "
module load
$name
/
$ver
mkdir
-p
$OUTPUT_DIR
/
$name
echo
''
>
$OUTPUT_DIR
/
$name
/
$ver
...
...
@@ -65,6 +73,7 @@ for i in $(head -n $NUM_MODULE $USAGE_REPORT); do
done
fi
module purge
printf
"Done"
done
IFS
=
$IFS_orig
...
...
This diff is collapsed.
Click to expand it.
smoke_test/software_usage.txt
+
0
−
2
View file @
6ae725a1
...
...
@@ -4,7 +4,6 @@ virtualgl/2.5.0 - 5586
tigervnc/1.8.0 - 5061
openmpi/1.10.7-mlx - 2368
gcc/8.1.0 - 2162
java/1.8.0_77 - 2108
gcc/4.9.3 - 2063
anaconda/5.1.0-Python3.6-gcc5 - 1635
openblas/0.2.20 - 1510
...
...
@@ -78,7 +77,6 @@ mesa/default - 343
blast/2.7.1 - 338
boost/1.67.0-gcc5 - 330
freesurfer/6.0 - 327
dot - 327
fsl/6.0.1 - 320
python/3.5.2-gcc4 - 316
matlab/r2015b - 315
...
...
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