Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
maestro-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
maestro
maestro-core
Commits
fec4688b
Commit
fec4688b
authored
Oct 29, 2020
by
Utz-Uwe Haus
Browse files
Options
Downloads
Patches
Plain Diff
Various small fixes for issues discovered by gcc8
parent
3d556096
No related branches found
No related tags found
2 merge requests
!3
Jsc ci update
,
!2
update JSC-CI branch to devel
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
INSTALL.md
+12
-0
12 additions, 0 deletions
INSTALL.md
configure.ac
+1
-1
1 addition, 1 deletion
configure.ac
maestro/groups.c
+4
-2
4 additions, 2 deletions
maestro/groups.c
tests/check_uuid.c
+1
-0
1 addition, 0 deletions
tests/check_uuid.c
transport/transport.c
+3
-2
3 additions, 2 deletions
transport/transport.c
with
21 additions
and
5 deletions
INSTALL.md
+
12
−
0
View file @
fec4688b
...
...
@@ -27,6 +27,18 @@ autoreconf -ivf
make
```
Depending on which branch you build, the default configure argumenst may include options to enable the
gcc/llvm address sanitizer. To disable, please configure with
```
--disable-asan
```
If you have the address sanitizer enabled, that may (depending on the compiler) also turn on the leak checker, and since
we are not fully memory leak-free at this point may trigger exit-time failures. To disable it, set the environment variable
```
LSAN_OPTIONS=detect_leaks=0
```
Cray-specific (jupiter)
-----------------------
Do not use one of the craype-network-ofi
\*
modules at this time.
...
...
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
1
−
1
View file @
fec4688b
...
...
@@ -72,7 +72,7 @@ AM_PROG_CC_C_O
AM_PROG_AR
dnl things suggested by autoscan
AC_CHECK_FUNCS([atexit bzero clock_gettime dup2
floor
ftruncate gethostname getpagesize memmove memset mkdir munmap putenv regcomp select strcasecmp strchr strdup strerror strncasecmp strspn strtol strtoul strtoull strtoumax],[],
AC_CHECK_FUNCS([atexit bzero clock_gettime dup2 ftruncate gethostname getpagesize memmove memset mkdir munmap putenv regcomp select strcasecmp strchr strdup strerror strncasecmp strspn strtol strtoul strtoull strtoumax],[],
[AC_MSG_ERROR([Missing essential system library function])])
AC_CHECK_HEADERS([fcntl.h float.h limits.h netdb.h netinet/in.h stddef.h sys/param.h sys/socket.h sys/time.h],[],
[AC_MSG_ERROR([Missing essential system header function])])
...
...
...
...
This diff is collapsed.
Click to expand it.
maestro/groups.c
+
4
−
2
View file @
fec4688b
...
...
@@ -465,6 +465,8 @@ mstro_group_demand(mstro_group g)
}
assert
(
g
->
state
&
MSTRO_GROUP_STATE_REQUIRED
);
Mstro__Pool__GroupMembers
*
members
=
NULL
;
mstro_status
s
=
mstro_cdo_demand
(
g
->
group_cdo
);
if
(
s
!=
MSTRO_OK
)
{
ERR
(
"Failed to DEMAND proxy CDO for group %s
\n
"
,
g
->
name
);
...
...
@@ -483,8 +485,8 @@ mstro_group_demand(mstro_group g)
assert
(
type
==
MSTRO_CDO_ATTR_VALUE_blob
);
const
mstro_blob
*
member_blob
=
(
const
mstro_blob
*
)
blob
;
M
stro__
P
ool__
G
roup
Members
*
members
=
mstro__pool__group_members__unpack
(
NULL
,
member_blob
->
len
,
member_blob
->
data
);
members
=
m
stro__
p
ool__
g
roup
_members__unpack
(
NULL
,
member_blob
->
len
,
member_blob
->
data
);
if
(
members
==
NULL
)
{
ERR
(
"NULL members structure in group %s
\n
"
,
g
->
name
);
...
...
...
...
This diff is collapsed.
Click to expand it.
tests/check_uuid.c
+
1
−
0
View file @
fec4688b
...
...
@@ -55,6 +55,7 @@ CHEAT_TEST(uuid_create_export,
char
*
str
=
NULL
;
cheat_assert
(
UUID_RC_OK
==
uuid_export
(
uuid1
,
UUID_FMT_STR
,
&
str
,
NULL
));
free
(
str
);
cheat_assert
(
UUID_RC_OK
==
uuid_destroy
(
uuid1
));
)
...
...
...
...
This diff is collapsed.
Click to expand it.
transport/transport.c
+
3
−
2
View file @
fec4688b
...
...
@@ -363,8 +363,9 @@ mstro_transport_execute(
/* layout-related attributes and a few more are always precious, as
* transformations will have handled them */
const
size_t
num_precious_attr
=
7
;
const
char
*
precious_attributes
[
num_precious_attr
]
=
{
#define NUM_PRECIOUS 7
const
size_t
num_precious_attr
=
NUM_PRECIOUS
;
const
char
*
precious_attributes
[
NUM_PRECIOUS
]
=
{
MSTRO_ATTR_CORE_CDO_RAW_PTR
,
MSTRO_ATTR_CORE_CDO_MAMBA_ARRAY
,
MSTRO_ATTR_CORE_CDO_SCOPE_LOCAL_SIZE
,
...
...
...
...
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
sign in
to comment