Created
January 23, 2020 23:09
-
-
Save nottux/f40fcb2f537389e22682d3115f26fbf8 to your computer and use it in GitHub Desktop.
My boinc script that launches with two gpu's if argument passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| b=/dev/shm/cc_config_boing.xml | |
| echo -e '<!--\nThis is a minimal configuration file cc_config.xml of the BOINC core client.\nFor a complete list of all available options and logging flags and their\nmeaning see: https://boinc.berkeley.edu/wiki/client_configuration\n-->\n<cc_config>\n <log_flags>\n <task>1</task>\n <file_xfer>1</file_xfer>\n <sched_ops>1</sched_ops>\n </log_flags>\n <options>'>$b | |
| if [ "$1" = "$a" ] | |
| then echo ' <ignore_ati_dev>0</ignore_ati_dev>'>>$b | |
| fi | |
| echo -e ' <use_all_gpus>1</use_all_gpus>\n </options>\n</cc_config>\n'>>$b | |
| cd /home/utku3/BOINC | |
| boincmgr&boinc |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in the directory,
cc_config.xmlis symlink to/dev/shm/cc_config_boing.xml