Compare commits
6 Commits
1.7.1-0.7
...
1.7.1-0.92
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e82adc761 | ||
|
|
1f9fbe82db | ||
|
|
aa3d4ba7bd | ||
|
|
c89ac042f9 | ||
|
|
0f1fc88ce9 | ||
|
|
bbc6565e7e |
@@ -10,7 +10,7 @@ project(mckernel C ASM)
|
||||
set(MCKERNEL_VERSION "1.7.1")
|
||||
|
||||
# See "Fedora Packaging Guidelines -- Versioning"
|
||||
set(MCKERNEL_RELEASE "0.7")
|
||||
set(MCKERNEL_RELEASE "0.92")
|
||||
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
|
||||
# for rpmbuild
|
||||
|
||||
@@ -34,6 +34,19 @@ For example, with Fujitsu Technical Computing Suite (TCS), you need to specify `
|
||||
|
||||
#PJM -L jobenv=mck1
|
||||
|
||||
(Optional, Fujitsu TCS only) Specify boot parameters
|
||||
----------------------------------------------------
|
||||
|
||||
You can specify the boot parameters by defining environmental variables and pass them to Fujitsu TCS.
|
||||
The parameters include the resource reservation settings, resource reservation amount, kernel arguments and routing of message channels between McKernel CPUs and Linux CPUs.
|
||||
See `IHK Specifications - ihk_create_os_str() <spec/ihk.html>`__ for the parameter names and allowed values.
|
||||
The example of setting the memory amount is shown below.
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
export IHK_MEM="7G@4,7G@5,7G@6,7G@7"
|
||||
pjsub -X run.sh
|
||||
|
||||
Insert ``mcexec`` into the command line
|
||||
---------------------------------------
|
||||
|
||||
|
||||
@@ -536,9 +536,6 @@ int prepare_ikc_channels(ihk_os_t os)
|
||||
usrdata->os = os;
|
||||
ihk_host_os_set_usrdata(os, usrdata);
|
||||
|
||||
ihk_ikc_listen_port(os, &lp_ikc2linux);
|
||||
ihk_ikc_listen_port(os, &lp_ikc2mckernel);
|
||||
|
||||
init_waitqueue_head(&usrdata->wq_procfs);
|
||||
mutex_init(&usrdata->reserve_lock);
|
||||
mutex_init(&usrdata->part_exec_lock);
|
||||
@@ -555,6 +552,16 @@ int prepare_ikc_channels(ihk_os_t os)
|
||||
INIT_LIST_HEAD(&usrdata->wakeup_descs_list);
|
||||
spin_lock_init(&usrdata->wakeup_descs_lock);
|
||||
|
||||
/* ihk_ikc_listen_port should be performed after
|
||||
* usrdata->cpu_topology_list is initialized because the
|
||||
* function enables syscall_packet_handler which accesses
|
||||
* the list (the call path is sysfsm_packet_handler -->
|
||||
* sysfsm_work_main --> sysfsm_setup --> setup_sysfs_files
|
||||
* --> setup_cpus_sysfs_files).
|
||||
*/
|
||||
ihk_ikc_listen_port(os, &lp_ikc2linux);
|
||||
ihk_ikc_listen_port(os, &lp_ikc2mckernel);
|
||||
|
||||
return 0;
|
||||
|
||||
error:
|
||||
|
||||
2
ihk
2
ihk
Submodule ihk updated: 3ac9d04bef...2c16f87330
Reference in New Issue
Block a user