[SCore-users-jp] Re: [SCore-users] SCore 5.8.3 on fedora core 5
Atsushi HORI
hori @ allinea.com
2006年 10月 24日 (火) 10:18:50 JST
On 2006/10/24, at 5:34, Thomas Kobienia wrote:
> I've been trying to compile score 5.8.3 on fedora core 5. gcc was not
> able to compile the files:
> - score-src/SCore/scoredlib/usr/ckpt.c
> - score-src/SCore/mttl-ult/ult/stack.c
> Both files needed the macros JB_SP and JB_PC. I don't get the errors
> on centos 4.3 or debian (sarge). I made a patch to define the macros
> in the related header files. Is there a better solution?
> (compilation tested with gcc 4.1 and 3.2.
Hi,
I faced the same problem.
In the score-src/SCore/mttl-ult/ult/mpcxx_defs.h file, you will the
following line
----
/** use Sys-V user context for high portability but low performance
**/
#define ULT_USE_USER_CONTEXT
---
and uncomment the line. Then it will not use the JB_SP not JB_PC.
Next, change the score-src/SCore/build/config/score file.
-----
########################################################################
##
#### checkpoint configuration parameters
####
########################################################################
##
# -DSCORE_NO_CHECKPOINT
# Disables all checkpointing facilities. This switch overrides
# all other switches.
# -DSCORE_CKPT_NO_SC_OVERRIDE
# Disables all system call overrides. Restoring mmap(2)ed
# memory area and file descriptor are disabled.
#
CKPT_CONFIG_PARAMS = -DSCORE_NO_CHECKPOINT
----
As in the above, "-DSCORE_NO_CHECKPOINT" should be added to the
config params. This disables the checkpoint/restart.
---
All the above problems are fixed in the upcoming SCore 6.0 which will
be release next month.
_______________________________________________
SCore-users mailing list
SCore-users @ pccluster.org
http://www.pccluster.org/mailman/listinfo/score-users
SCore-users-jp メーリングリストの案内