Counter COVID-19 (Coronavirus Disease) with Sabayon Linux and Distributed Computing (Folding @ home / Rosetta @ home)

Italy was terrible and I was wondering what was going on with Sabayon now, but there was talk in the forums about fighting the new coronavirus.

Exposing mistakes

I mentioned the wrong procedure in a part of the article. sorry.
Below is an image that introduces the wrong procedure.

COVID-19 - コピー.jpg

  • ~~ It should be like this. ~~ ← No. ~~ What you should specify is the project number, not the team number. ~~ ← Sorry. According to the FAQ, you cannot directly specify the project number. It would be easy if COVID-19 could be specified in “I support research fighting”.

  • I'm sorry that the corrected text is incorrect.

2020/3/28 Partially revised title

The notation / description was incorrect. sorry.

Before correction COVID-19 (new coronavirus)

Revised COVID-19 (new coronavirus infection)

COVID-19:

  • Coronavirus disease 2019
  • COVID-19 infection --2019 Acute respiratory disease caused by the new coronavirus

SARS-CoV-2:

--New coronavirus --SARS Coronavirus-2 --Severe acute respiratory syndrome coronavirus 2 (literally translated as "Severe acute respiratory syndrome coronavirus 2")

Source:

https://ja.wikipedia.org/wiki/2019新型コロナウイルスによる急性呼吸器疾患 https://ja.wikipedia.org/wiki/2019新型コロナウイルス https://en.wikipedia.org/wiki/Severe_acute_respiratory_syndrome_coronavirus_2

Use AIDS and HIV properly.

Source

https://forum.sabayon.org/viewtopic.php?f=94&t=35718

Tutti possono aiutare la ricerca per combattere il coronavirus con il proprio PC.

Articles in the Italian sub-forum of the Sabayon forum.

Machine translation

https://translate.google.co.jp/translate?sl=it&tl=ja&u=https%3A%2F%2Fforum.sabayon.org%2Fviewtopic.php%3Ff%3D94%26t%3D35718

Anyone can help research to fight the coronavirus on their PC.

Machine translation with source language as Italian and target language as Japanese.

Folding@home https://foldingathome.org/ https://ja.wikipedia.org/wiki/Folding@home

Folding @ home (FAH, Folding at Home [3]) is a distributed computing project centered on Stanford University in North America since October 2000, and the computer programs used in it.

By analyzing the folding structure of proteins, the purpose is to help treat various diseases related to this (Alzheimer's disease, cancer, Parkinson's disease, mad cow disease, etc.). If you download this program and run it on a personal computer, the calculations required for research will be performed, and the calculation results will be sent to Stanford University via the Internet. Also, in this project, not only CPU but also GPGPU can be used for processing.

things to do

Source: https://forum.sabayon.org/viewtopic.php?f=94&t=35718#p185189

Root login

$ su -

Introducing folding @ home

# equo install sci-biology/foldingathome

Add user to "folding at home" group

# gpasswd --add <your user name> foldingathome

If you get angry with "folding at home is a group!", Do the following:

# groupadd --system foldingathome
# gpasswd --add <your user name> foldingathome

Start folding @ home

# systemctl start foldingathome

Checking the status of folding @ home

$ systemctl status foldingathome

If you are experiencing permissions issues, make the appropriate changes and restart the service

$ su -
# chmod 775 --recursive /opt/foldingathome
# systemctl restart foldingathome

Connect to local client

$ firefox https://client.foldingathome.org/

If the service is running but it doesn't connect, you may need to review the ufw settings and the firewall settings on the router side.

Participate in the right project

FAHControl

COVID-19_03 - コピー.jpg

Web interface

COVID-19_02 - コピー.jpg

** Provide computational resources for COVID-19 related projects by specifying "Any disease" in the "I support research fighting" pull-down menu. ** **

As of 3/26, it seems that it is not possible to provide computational resources to COVID-19 related projects ** only **.

Folding @ home COVID-19 special page

https://foldingathome.org/covid19/

To focus on Covid19 research set your category to any.

Folding @ home COVID-19 Related FAQ

https://foldingforum.org/viewtopic.php?f=24&t=32463

  1. How do I choose to help with the COVID-19 related projects ? To help in the fight against COVID-19, you need to select - Webcontrol : "Any disease" in the list "I support research fighting" - Advanced Control/FAHControl : Configure > Advanced, select "Any" in the list "Cause Preference" The COVID-19 related projects are on top priority and will be assigned automatically.
  1. Can I choose to work only on the COVID-19 related projects ? No, you can't. In FoldingHome, you never choose to work on only one project (or family of projects). The setting described above is a preference, but if no work is available to match your preferences, the system is designed to send you what need to be done at the time of your work request.

Below, the above Google Translate

  1. How should I choose to support COVID-19 related projects? ** To support the fight against COVID-19 ** -Webcontrol: Select "Any disease" in the "I support research fighting" list -Advanced Control / FAHControl: Configure> Advanced, select "Any" in the "Cause Preference" list ** COVID-19 related projects are a top priority and will be assigned automatically. ** **
  1. Can I choose to work only on COVID-19 related projects? **No, I can not. ** ** With FoldingHome, you don't choose to work on just one project (or a family of projects). The above settings are settings, but if there is no work that matches the settings, the system is designed to send what you need to do when requesting work.

Sabayon forum post

Re: COVID-19: il PC può aiutare Post by sabayonino » Mon Mar 16, 2020 18:35

Allo stato attuale i progetti dedicati al COVID-19 sono i seguenti :

The Current Folding@home project IDs that correspond with Coronavirus (COVID-19) research are 11741, 11742, 11743, 11744, 11745, 11746, 11747, 11748, 11749, 11750, 11751, 11752, 11759, 11760, 11761, 11762, 11763, 11764, 14328, 14329, 14530, 14531, and 14532.

Source: https://forum.sabayon.org/viewtopic.php?f=94&t=35718#p185269

Below, the above Google Translate

Re: COVID-19: PC will help you

Posted by sabayonino »March 16, 2020 18:35

Currently, the projects dedicated to COVID-19 are:

The current Folding @ home project IDs for coronavirus (COVID-19) research are 11741, 11742, 11743, 11744, 11745, 11746, 11747, 11748, 11749, 11750, 11751, 11752, 11759, 11760. , 11761, 11762. , 11763, 11674, 14328, 14329, 14530, 14531, and 14532

bonus

Folding @ home is multi-platform so you can join from Mac or Windows. https://foldingathome.org/support/faq/installation-guides/windows/ https://foldingathome.org/support/faq/installation-guides/linux/ https://foldingathome.org/support/faq/installation-guides/mac/

~~ If you join from Android, you may be able to go from a suitable BOINC client. https://foldingathome.org/faqs/high-performance/fah-on-boinc/ https://play.google.com/store/apps/details?id=edu.berkeley.boinc&hl=ja~~ F @ H for BOINC doesn't seem to exist yet. In the past, there was Sony's Folding @ home for Android.

↓ There is such an app for iOS. However, if F @ H does not come to BOINC, it may not be usable for F @ H. https://apps.apple.com/jp/app/boinc-statistics/id1275779531

Binary package issues with Sabayon (as of March 26, 2020)

I am troubled

Folding @ home from the repository does not start.

esi@esi-pc ~ $ ls -l /opt/foldingathome
8268 in total
-rwxr-xr-x 1 foldingathome foldingathome 6825315 November 3 02:08 FAHClient
-rwxr-xr-x 1 foldingathome foldingathome 1631413 November 3 02:08 FAHCoreWrapper
lrwxrwxrwx 1 foldingathome foldingathome 34 March 26 22:51 libcrypto.so.10 -> ../../usr/lib64/libcrypto.so.1.0.0
lrwxrwxrwx 1 foldingathome 141 34 March 26 20:07 libcrypto.so.10.bak -> ../../usr/lib64/libcrypto.so.1.0.0
lrwxrwxrwx 1 foldingathome foldingathome 31 March 26 22:51 libssl.so.10 -> ../../usr/lib64/libssl.so.1.0.0
lrwxrwxrwx 1 foldingathome 141 31 March 26 20:07 libssl.so.10.bak -> ../../usr/lib64/libssl.so.1.0.0
-rw-r--r--1 foldingathome foldingathome 2010 November 3 02:08 sample-config.xml
esi@esi-pc ~ $ /opt/foldingathome/FAHClient
/opt/foldingathome/FAHClient: /opt/foldingathome/libssl.so.10: no version information available (required by /opt/foldingathome/FAHClient)
/opt/foldingathome/FAHClient: /opt/foldingathome/libcrypto.so.10: no version information available (required by /opt/foldingathome/FAHClient)
/opt/foldingathome/FAHClient: /opt/foldingathome/libcrypto.so.10: no version information available (required by /opt/foldingathome/FAHClient)
/opt/foldingathome/FAHClient: symbol lookup error: /opt/foldingathome/libssl.so.10: undefined symbol: krb5_rc_initialize
esi@esi-pc ~ $

I tried using emerge together

So I put dev-libs / openssl-compat and sci-biology / foldingathome in emerge ... but I ran into the same error after that. Hmmm.

References

https://wiki.sabayon.org/index.php?title=HOWTO:_Safely_mix_Entropy_and_Portage https://wiki.gentoo.org/wiki/Knowledge_Base:Autounmask-write https://wiki.gentoo.org/wiki/Eix https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base/ja#任意自由選択:_ミラーサーバーを選択する

Preparing to use equo and emerge together

Preparation for combined use of emerge


su -
export LANG=en_US.UTF-8
eselect profile list
eselect profile set default/linux/amd64/17.1/desktop
cd /etc/portage/package.env/
ln --symbolic --force ../package.env.amd64 ./package.env.amd64 #If the symlink is broken, fix it with this
cd
equo rescue spmsync --ask
nano --nowrap /etc/entropy/client.conf # ※1
equo install dev-vcs/git --ask
equo install app-portage/layman --ask
layman --list
layman --add sabayon
layman --add sabayon-distro
equo install app-portage/eix --ask
wget https://gist.githubusercontent.com/rdnetto/522839021a240650c20d/raw/41bdbac11fc31bf97b6aa27873f6fb0616e8cbc6/sync-entropy-files.sh --output-document=/var/lib/entropy/sync-entropy-files.sh
chmod +x /var/lib/entropy/sync-entropy-files.sh
for d in package.accept_keywords package.keywords package.mask package.use; do test -d /etc/portage/$d || mkdir /etc/portage/$d; done
for d in $(find /etc/portage/package.* -maxdepth 0 -type d); do touch $d/zzz_autounmask; done
# equo install app-portage/mirrorselect --ask #If you want to specify a Japanese mirror in Portage
# mirrorselect --interactive --output >> /etc/portage/make.conf #Added mirror settings
emerge-webrsync
layman --sync-all
nano --nowrap /etc/eix-sync.conf # ※2
eix-sync
equo conf update

※1 “ignore-spm-Rewrite the description of "downgrades" from "disable" to "enable" and uncomment


ignore-spm-downgrades = enable

* 2 Describe the following


*
! /var/lib/entropy/sync-entropy-files.sh
Serpentine

If you just want to keep track of the latest Portage settings on Sabayon's build server, can you cd to / opt / sabayon-build and do something like `` `git pull```?

Introduced dev-libs / openssl-compat and sci-biology / foldingathome with emerge

Software installation


equo install dev-libs/openssl-compat --ask
equo install sci-biology/foldingathome --ask
equo install dev-util/patchelf --ask
emerge dev-libs/openssl-compat --ask
emerge sci-biology/foldingathome --ask
equo rescue spmsync --ask

spmsync Update Entropy installed packages repository merging Source Package Manager changes.

https://wiki.sabayon.org/index.php?title=En:List_Of_Equo_Functions#spmsync

Avoiding problems when working with autounmask related work on emerge in Sabayon

In Sabayon, / etc / portage is a symbolic link to / opt / sabayon-build / conf / intel / portage, which causes dispatch-conf (or equo conf update [^ no guarantee] for configuration files in / etc / portage. ]) Does not recognize. In this case, the problem could be avoided by using dispatch-conf / opt / sabayon-build / conf / intel / portage.

Example

sh:7.5.1-r3


emerge sci-biology/foldingathome --autounmask --autounmask-write --ask
dispatch-conf /opt/sabayon-build/conf/intel/portage
emerge sci-biology/foldingathome --ask
equo rescue spmsync --ask

[^ No guarantee]: Experimentally `mv / etc / portage / root && cp --archive / opt / sabayon-build / conf / intel / portage / etc / portage && equo conf update` and dispatch I was able to write autounmask related settings with equo conf update instead of -conf.

It was no good (as of March 26, 2020)

esi@esi-pc ~ $ /opt/foldingathome/FAHClient
/opt/foldingathome/FAHClient: /opt/foldingathome/libssl.so.10: no version information available (required by /opt/foldingathome/FAHClient)
/opt/foldingathome/FAHClient: /opt/foldingathome/libcrypto.so.10: no version information available (required by /opt/foldingathome/FAHClient)
/opt/foldingathome/FAHClient: /opt/foldingathome/libcrypto.so.10: no version information available (required by /opt/foldingathome/FAHClient)
/opt/foldingathome/FAHClient: symbol lookup error: /opt/foldingathome/libssl.so.10: undefined symbol: krb5_rc_initialize
esi@esi-pc ~ $ 

I was finally able to start with the stray build of openssl 1.0.1u (March 31, 2020)

openssl 1.0.1u Distributor https://github.com/openssl/openssl/releases/tag/OpenSSL_1_0_1u

This kind of problem sometimes happens with software that distributes only binary packages ~~ happens ~~ happens [^ happens], but ... I was finally able to start it.

[^Get up get up]: Get up? Occur?|Language (broadcasting term)-Broadcast terminology that you are interested in recently|NHK Broadcasting Culture Research Institute

$ su -
# emerge --pretend dev-libs/openssl-compat
#equo install <Build-dependent package 1> <Build-dependent package 2> ……
# wget https://github.com/openssl/openssl/archive/OpenSSL_1_0_1u.tar.gz
# tar xf OpenSSL_1_0_1u.tar.gz
# cd openssl-OpenSSL_1_0_1u/
# less INSTALL
# ./config --prefix=/opt/foldingathome shared
# make
# make test
# make install
# cd /opt/foldingathome
# mv libcrypto.so.10 libcrypto.so.10.bak
# mv libssl.so.10 libssl.so.10.bak
# ln -s ./lib/libcrypto.so.1.0.0 ./libcrypto.so.10
# ln -s ./lib/libssl.so.1.0.0 ./libssl.so.10
# ./FAHClient

From another terminal in this state

$ firefox https://client.foldingathome.org/

In addition, `systemctl start foldingathome``` fails because there is a problem with the description of `/ lib / systemd / system / foldingathome.service```.

config:/lib/systemd/system/foldingathome.service(7.5.1)


ExecStart=/opt/foldingathome/FAHClient -v start
ExecReload=/opt/foldingathome/FAHClient -v restart
ExecStop=/opt/foldingathome/FAHClient -v stop

Error message


esi-pc ~ # /opt/foldingathome/FAHClient -v start
/opt/foldingathome/FAHClient: /opt/foldingathome/libssl.so.10: no version information available (required by /opt/foldingathome/FAHClient)
/opt/foldingathome/FAHClient: /opt/foldingathome/libcrypto.so.10: no version information available (required by /opt/foldingathome/FAHClient)
/opt/foldingathome/FAHClient: /opt/foldingathome/libcrypto.so.10: no version information available (required by /opt/foldingathome/FAHClient)
10:10:31:INFO(1):Read GPUs.txt
10:10:31:ERROR:Exception: Failed to open 'start': Failed to open 'start': No such file or directory: No such file or directory

config:/lib/systemd/system/foldingathome.service(7.5.1-ExecStart in r3) looks like this


ExecStart=/opt/foldingathome/FAHClient --fork=false --pid=false --respawn=false --service=false

References

Install OpenSSL (1.0.x) (compile from source) for CentOS 7.4 --Qiita https://qiita.com/shadowhat/items/68fd55b532c04b13acf5

https://www.freedesktop.org/software/systemd/man/systemctl.html

https://wiki.sabayon.org/index.php?title=HOWTO:_Safely_mix_Entropy_and_Portage

https://gitweb.gentoo.org/repo/gentoo.git/tree/sci-biology/foldingathome

FAHClient for Linux https://download.foldingathome.org/releases/public/release/fahclient/

FAHControl for Linux https://download.foldingathome.org/releases/public/release/fahcontrol/

FAH Viewer for Linux https://download.foldingathome.org/releases/public/release/fahviewer/

FAHScreensaver for Linux https://download.foldingathome.org/releases/public/release/fahscreensaver/

/opt/foldingathome/FAHClient --help
Usage: /opt/foldingathome/FAHClient [[--config] <filename>] [OPTIONS]...

OPTIONS:
  --chdir <string>
      Change directory before starting server. All files opened after this
      point, such as the configuration file, must have paths relative to the new
      directory.

  --configure
      Create a basic configuration file, then exit.

  --dump <string>
      Dump either 'all' or a specific work unit, identified by its queue ID,
      then exit.

  --finish
      Finish all current work units, send the results, then exit.

  --lifeline <integer=0>
      The application will watch for this process ID and exit if it goes away.
      Usually the calling process' PID.

  --lspci
      List the PCI bus devices, which can be helpful for finding GPU vendor and
      device IDs.

  --queue-info
      Print work unit queue then exit.

  --send
      Send all finished work units, then exit.

  --send-command <string>
      Send a command to an already running client.

  --send-finish [string]
      Finish a slot or all slots on an already running client.

  --send-pause [string]
      Pause a slot or all slots on an already running client.

  --send-unpause [string]
      Unpause a slot or all slots on an already running client.

Configuration:
  --config <string=config.xml>
      Set configuration file.

  --print
      Print configuration and exit.

Informational:
  --help [string]
      Print help screen or help on a particular option and exit.

  --html-help
      Print help in HTML format and exit.

  --info
      Print application and system information and exit.

  --license
      License information and exit.

  -q|--quiet
      Set verbosity to zero.

  -v|--verbose
      Increase verbosity level.

  --version
      Print application version and exit.


Configuration options:
The following options can be specified in a configuration file or on the command
line using the following syntax:

    --<option> <value>

  or:

    --<option>=<value>

  or when marking boolean values true:

    --<option>

Client Control:
  client-threads <integer=6>
    The number of client processing threads.

  cycle-rate <double=4>
    The maximum cycle frequency in Hz of client threads.

  cycles <integer=-1>
    Run at most this many cycles. A value less than zero means run indefinitely.

  data-directory <string=.>
    The directory, relative to the current directory, where WU data and cores
    are stored.

  disable-sleep-when-active <boolean=true>
    Attempt to keep the system from sleeping when folding, unless on battery.

  exec-directory <string=/opt/foldingathome>
    The directory, relative to the current executable, where executables and
    dynamic libraries are located.

  exit-when-done <boolean=false>
    Exit when all slots are paused.

  fold-anon <boolean=false>
    Start folding even if not configured.

  idle-seconds <integer=300>
    Number of seconds of system idle time before enabling idle folding. Set to
    zero to ignore system idle time.

  open-web-control <boolean=false>
    Make an operating system specific call to open the Web Control in a browser
    once client is fully loaded

Configuration:
  config-rotate <boolean=true>
    Rotate the configuration file to a backup when saving would overwrite the
    previous configuration.

  config-rotate-dir <string=configs>
    Put rotated configs in this directory.

  config-rotate-max <integer=16>
    The maximum number of rotated configuration files to keep. A value of zero
    will keep all configuration file backups.

Error Handling:
  max-slot-errors <integer=10>
    The maximum number of errors before a slot is paused.

  max-unit-errors <integer=5>
    The maximum number of errors before a work unit is dumped.

Folding Core:
  checkpoint <integer=15>
    Tell cores to checkpoint at least every # minutes.

  core-dir <string=cores>
    The directory to store core files in.

  core-prep <string>
    Run this command on cores after they are downloaded. This option is useful
    for running Linux cores on BSD machines.

  core-priority <string=idle>
    Set the core priority. Valid values are: idle or low

  cpu-affinity <boolean=false>
    If true, try to lock core processes to a fixed CPU

  cpu-usage <integer=100>
    The maximum percentage of the CPU a core should use. Not implemented by all
    cores.

  gpu-usage <integer=100>
    GPU usage as a percent from 10-100

  no-assembly <boolean=false>
    Tell cores to disable optimized assembly code.

Folding Slot Configuration:
  cause <string=ANY>
    The cause you prefer to support.

  client-subtype <string=LINUX>
    The client subtype

  client-type <string=normal>
    The client type. Can be 'normal', 'advanced' or 'beta'.

  cpu-species <string=X86_AMD>
    CPU species.

  cpu-type <string=AMD64>
    CPU type.

  cpus <integer=-1>
    How many CPUs a slot should use. <= 0 will use all the CPUs detected in the
    system.

  cuda-index <string>
    The CUDA device index of the GPU, counting starts from 0.

  disable-viz <boolean=false>
    Disable reading visualization data.

  extra-core-args <string>
    Pass extra arguments to the core.

  gpu <boolean=true>
    Enable or disable auto-confiugration of GPU slots, requires appropriate
    hardware.

  gpu-index <string>
    The index of the GPU as detected by the client. This index corresponds
    directly to the GPUs listed in the client's '--info' output.

  max-packet-size <string=normal>
    Max size in bytes of a work unit packet. Can be small=5MiB, normal=25MiB,
    big=500MiB or a number.

  memory <string>
    Override memory, in bytes, reported to Folding@home.

  opencl-index <string>
    The OpenCL device index of the GPU, counting starts from 0.

  os-species <string=UNKNOWN>
    Operating system species.

  os-type <string=LINUX>
    Operating system type.

  project-key <integer=0>
    Key for access to restricted testing projects.

  smp <boolean=true>
    Enable or disable auto-configuration of SMP slots, requires appropriate
    hardware.

GUI:
  gui-enabled <boolean=true>
    Set to false to disable the GUI. A GUI is not currently supported on all
    operating systems.

HTTP Server:
  allow <string=127.0.0.1>
    Client addresses which are allowed to connect to this server. This option
    overrides IPs which are denied in the deny option. The pattern 0/0 matches
    all addresses.

  connection-timeout <integer=60>
    The maximum amount of time, in seconds, a connection can be idle before
    being dropped.

  deny <string=0/0>
    Client address which are not allowed to connect to this server.

  http-addresses <string=0:7396>
    A space separated list of server address and port pairs to listen on in the
    form <ip | hostname>[:<port>]

  https-addresses <string=>
    A space separated list of secure server address and port pairs to listen on
    in the form <ip | hostname>[:<port>]

  max-connect-time <integer=900>
    The maximum amount of time, in seconds, a client can be connected to the
    server.

  max-connections <integer=800>
    Sets the maximum number of simultaneous connections.

  max-request-length <integer=52428800>
    Sets the maximum length of a client request packet.

  min-connect-time <integer=300>
    The minimum amount of time, in seconds, a client must be connected to the
    server before it can be dropped in favor or a new connection.

HTTP Server SSL:
  certificate-file <string>
    The servers certificate file in PEM format.

  crl-file <string>
    Supply a Certificate Revocation List. Overrides any internal CRL

  private-key-file <string>
    The servers private key file in PEM format.

Logging:
  log <string=log.txt>
    Set log file.

  log-color <boolean=true>
    Print log messages with ANSI color coding.

  log-crlf <boolean=false>
    Print carriage return and line feed at end of log lines.

  log-date <boolean=false>
    Print date information with log entries.

  log-date-periodically <integer=21600>
    Print date to log before new log entries if so many seconds have passed
    since the last date was printed.

  log-domain <boolean=false>
    Print domain information with log entries.

  log-domain-levels <string ...>
    Set log levels by domain. Format is:
      <domain>[:i|d|t]:<level> ...
    Entries are separated by white-space and or commas.
      i - info
    For example: server:i:3 module:6
    Set 'server' domain info messages to level 3 and 'module' info messages to
    level 6. All other domains will follow the system wide log verbosity level.
    If <level> is negative it is relative to the system wide verbosity.

  log-header <boolean=true>
    Enable log message headers.

  log-level <boolean=true>
    Print level information with log entries.

  log-no-info-header <boolean=true>
    Don't print 'INFO(#):' in header.

  log-redirect <boolean=false>
    Redirect all output to log file. Implies !log-to-screen.

  log-rotate <boolean=true>
    Rotate log files on each run.

  log-rotate-dir <string=logs>
    Put rotated logs in this directory.

  log-rotate-max <integer=16>
    Maximum number of rotated logs to keep.

  log-short-level <boolean=false>
    Print shortened level information with log entries.

  log-simple-domains <boolean=true>
    Remove any leading directories and trailing file extensions from domains so
    that source code file names can be easily used as log domains.

  log-thread-id <boolean=false>
    Print id with log entries.

  log-thread-prefix <boolean=true>
    Print thread prefixes, if set, with log entries.

  log-time <boolean=true>
    Print time information with log entries.

  log-to-screen <boolean=true>
    Log to screen.

  log-truncate <boolean=false>
    Truncate log file.

  verbosity <integer=3>
    Set logging level for INFO messages.

Network:
  proxy <string=>
    Set proxy for outgoing HTTP connections

  proxy-enable <boolean=false>
    Enable proxy configuration

  proxy-pass <string=>
    Set password for proxy connections

  proxy-user <string=>
    Set user name for proxy connections

Process Control:
  child <boolean=false>
    Disable 'daemon', 'fork', 'pid' and 'respawn' options. Also defaults
    'log-to-screen' to false. Used internally.

  daemon <boolean=false>
    Short for --pid --service --respawn --log='' --fork

  fork <boolean=false>
    Run in background.

  pid <boolean=false>
    Create PID file.

  pid-file <string=Folding@home Client.pid>
    Name of PID file.

  priority <string>
    Set the process priority. Valid values are: idle, low, normal, high or
    realtime.

  respawn <boolean=false>
    Run the application as a child process and respawn if it is killed or exits.

  run-as <string>
    Run as specified user

  service <boolean=false>
    Ignore user logout or hangup and interrupt signals

Remote Command Server:
  command-address <string=0.0.0.0>
    The address to which the command server should be bound.

  command-allow-no-pass <string=127.0.0.1>
    IP address ranges that are allowed access to the command server with out a
    password if the 'password' option is set. These addresses will also have to
    be allowed IP based access.

  command-deny-no-pass <string=0/0>
    IP address ranges that are not allowed access to the command server with out
    a password if the 'password' option is set. Overridden by
    command-allow-no-pass

  command-enable <boolean=true>
    Set to false to disable the command server.

  command-port <integer=36330>
    The port to which the command server should be bound.

  eval <string>
    Evaluate the argument as a script.

  password <string>
    Set a command server password. Warning, setting a password disables the
    default IP address blocking.

  script <string>
    Run commands from a script file.

Slot Control:
  idle <boolean=false>
    Only run slot when idle.

  max-shutdown-wait <integer=60>
    The maximum amount of time to wait in seconds for a unit to exit on
    shutdown.

  pause-on-battery <boolean=true>
    Pause the client or slot when the OS indicates the machine is running on
    battery power.

  pause-on-start <boolean=false>
    If true the slot will be started in a paused state.

  paused <boolean=false>
    True if slot is paused.

  power <string=medium>
    Set the client's power level. Valid values are 'light', 'medium' or 'full'.
    This setting affects the defaults of several other options such as 'cpus',
    'pause-on-battery', etc.

User Information:
  machine-id <integer=0>
    The machine ID.

  passkey <string=>
    Your passkey.

  team <integer=0>
    Your team number.

  user <string=Anonymous>
    Your user name.

Web Server:
  web-allow <string=127.0.0.1>
    Client addresses which are allowed to connect to this Web server. This
    option overrides IPs which are denied in the web-deny option. This option
    differs from the 'allow'/'deny' options in that clients that are not allowed
    are served an access denied page rather than simply dropping the connection.
    The value '0/0' matches all IPs.

  web-deny <string=0/0>
    Client address which are not allowed to connect to this Web server.

  web-enable <boolean=true>
    Set to false to disable the web server.

Web Server Sessions:
  session-cookie <string=sid>
    The name of the session cookie.

  session-lifetime <integer=86400>
    The maximum session lifetime in seconds. Zero for unlimited session
    lifetime.

  session-timeout <integer=3600>
    The max maximum amount of time in seconds since the last time a session was
    used before it timesout. Zero for no session timeout.

Work Unit Control:
  dump-after-deadline <boolean=true>
    Dump units if their deadline has passed.

  max-queue <integer=16>
    Maximum units per slot in the work queue.

  max-units <integer=0>
    Process at most this number of units, then pause.

  next-unit-percentage <integer=99>
    Pre-download the next work unit when the current one is this far along.
    Values less than 90 are not allowed.

  stall-detection-enabled <boolean=false>
    Attempt to detect stalled work units and restart them.

  stall-percent <integer=5>
    Minimum estimated percent work unit completion since last frame before a WU
    can be considered stalled, if zero the percentage is ignored.

  stall-timeout <integer=1800>
    Minimum time, in seconds, since last frame before a WU can be considered
    stalled.
GhostBSD /usr/local/etc/rc.d/fahclient
#! /bin/sh -
#
# $FreeBSD$
#
# SPDX-License-Identifier: BSD-2-Clause
#
# Copyright (c) 2020 Mateusz Piotrowski <[email protected]>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
#     1. Redistributions of source code must retain the above copyright notice,
#        this list of conditions and the following disclaimer.
#     2. Redistributions in binary form must reproduce the above copyright
#        notice, this list of conditions and the following disclaimer in the
#        documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.

# PROVIDE: fahclient
# REQUIRE: DAEMON LOGIN NETWORKING linux

. /etc/rc.subr

name='fahclient'
rcvar='fahclient_enable'

load_rc_config 'fahclient'

# Default settings.
: "${fahclient_enable:=NO}"
: "${fahclient_user:=fahclient}"
: "${fahclient_chdir:=/var/db/fahclient}"

: "${fahclient_pidfile:=/var/db/fahclient/fahclient.pid}"
: "${fahclient_config:=/usr/local/etc/fahclient/config.xml}"
: "${fahclient_logfile:=/var/db/fahclient/log.txt}"

pidfile="${fahclient_pidfile}"
command='/usr/local/bin/FAHClient'
# Some notes on the specified options:
# - --config is necessary to point the program to the correct configuration
#   file.
# - --chdir is used to switch to a desired work directory. The program is going
#   to create a lot of files in its current working directory so should not be
#   just any directory on the system.
# - --pid-file specifies the location for the PID file.
# - --daemon is to detach the program from the terminal and run it
#   in the background.
command_args="--config ${fahclient_config} --chdir ${fahclient_chdir}"
command_args="${command_args} --pid-file ${pidfile} --daemon"
extra_commands="log"
log_cmd="tail -F -- ${fahclient_logfile}"
required_modules='linprocfs linsysfs linux64:linux64elf'

run_rc_command "$1"

Rosetta@home http://boinc.bakerlab.org/rosetta/ https://ja.wikipedia.org/wiki/Rosetta@home

Rosetta @ home is one of the distributed computing projects run by Professor David Baker's lab at the University of Washington.

The purpose is to help researchers who analyze the structure of proteins and study various diseases such as AIDS, cancer, Alzheimer's disease, and malaria in the future.

Installation

install boinc


su -
export LANG=en_US.UTF-8
equo install sci-misc/boinc --ask
systemctl enable boinc-client #Automatically start when the system starts
systemctl start boinc-client # boinc-start client
systemctl status boinc-client # boinc-Display the status of the client
reboot #Reboot the system

Launch and join Rosetta @ home

Start-up

start boinc


$ boincmgr

Flow of participation in Rosetta @ home

VirtualBox_Sabayon_27_03_2020_08_53_47 - コピー.png VirtualBox_Sabayon_27_03_2020_08_54_37 - コピー.png VirtualBox_Sabayon_27_03_2020_08_55_35 - コピー.png VirtualBox_Sabayon_27_03_2020_08_56_48 - コピー.png VirtualBox_Sabayon_27_03_2020_08_58_44 - コピー.png VirtualBox_Sabayon_27_03_2020_09_34_52 - コピー.png

Sabayon forum post

https://forum.sabayon.org/viewtopic.php?f=94&t=35718#p185189

Re: COVID-19: il PC può aiutare Post by sabayonino » Thu Mar 05, 2020 20:18

Anche rosetta@home (piattaforma BOINC) ha contribuito(estacontribuendo) all'analisi del COVID-19 Qui qualche raccolta di notizie

Wiki Boinc su Sabayon

╠  @@ Cercando...
╠      @@ Pacchetto: sci-misc/boinc-7.14.2 branch: 5, [sabayon-weekly] 
╠          Disponibile:   versione: 7.14.2 ~ tag: NoTag ~ revisione: 1
╠          Installato:    versione: 7.14.2 ~ tag: NoTag ~ revisione: 1
╠          Slot:          0
╠          Homepage:      https://boinc.ssl.berkeley.edu/ 
╠          Descrizione:   The Berkeley Open Infrastructure 
╠                         for Network Computing 
╠          Licenza:       LGPL-2.1
╠   Keyword:  boinc
╠   Trovati:  1 voce

https://forum.sabayon.org/viewtopic.php?f=94&t=35718#p185323

Re: COVID-19: il PC può aiutare Post by sabayonino » Wed Mar 25, 2020 14:15

In questo post su BOINC.Italy , un interessante resoconto sulla ricerca svolta attraverso rosetta @ home

Da leggere ;)

Stay tuned

Below, the above Google Translate

https://translate.google.co.jp/translate?sl=it&tl=ja&u=https%3A%2F%2Fforum.sabayon.org%2Fviewtopic.php%3Ff%3D94%26t%3D35718%23p185189

Re: COVID-19: PC will help you Posted by sabayonino »Thu Mar 05, 2020 20:18

Rosetta @ home (BOINC platform) also [contributed] to the analysis of COVID-19 (https://translate.google.co.jp/translate?sl=en&tl=ja&u=https%3A%2F%2Fboinc.bakerlab. org% 2Frosetta% 2Fforum_thread.php% 3Fid% 3D13533% 2391772) (Contributing) [Here](https://translate.google.co.jp/translate?sl=it&tl=ja&u=https%3A%2F%2Fwww.boincitaly.org%2Fforum%2Fchiacchiere-distribuite%2F114974-coronavirus.html%3Fstart% 3D20) some news collections

Wiki Boinc on Sabayon

╠  @@ Searching...
╠      @@package: sci-misc/boinc-7.14.2 branches: 5, [sabayonlinux.org] 
╠ Available:version: 7.14.2 ~ tag: NoTag ~look for: 1
╠ Instrument:version: 7.14.2 ~ tag: NoTag ~look for: 1
╠ Slot:     0
╠ Homepage:   https://boinc.ssl.berkeley.edu/ 
╠ No description:     The Berkeley Open Infrastructure 
╠                    for Network Computing 
╠ Approval:       LGPL-2.1
╠ Keywords:  boinc
╠ Discovery:     1 entry

https://translate.google.co.jp/translate?sl=it&tl=ja&u=https%3A%2F%2Fforum.sabayon.org%2Fviewtopic.php%3Ff%3D94%26t%3D35718%23p185323

208/5000 Re: COVID-19: PC will help you Posted by sabayonino »Wednesday, March 25, 2020 14:15

[This post] about BOINC.Italy (https://translate.google.co.jp/translate?sl=it&tl=ja&u=https%3A%2F%2Fwww.boincitaly.org%2Fforum%2Fbiologia-e-medicina%2F1793 -thread-ufficiale-rosetta-home.html% 3Fstart% 3D2080% 23132968) is an interesting report on research done through rosetta @ home.

To read: wink:

Please wait

References

https://forum.sabayon.org/viewtopic.php?f=94&t=35718#p185189 https://forum.sabayon.org/viewtopic.php?f=94&t=35718#p185323 https://www.boincitaly.org/forum/biologia-e-medicina/1793-thread-ufficiale-rosetta-home.html?start=2080#132968 https://wiki.sabayon.org/index.php?title=HOWTO:_Installing_BOINC

Recommended Posts

Counter COVID-19 (Coronavirus Disease) with Sabayon Linux and Distributed Computing (Folding @ home / Rosetta @ home)