Recently the Folding@home announced that they are helping the research around Covid-19. The project is about folding protein sequences and finding new working combinations. Which then helps find which molecules could be effective against specific diseases (my wording, don’t quote me on that).
This process is highly parallel and we can contribute to it with CPU and GPU power.
Run fahcontrol to configure the client. Configure your user and set the team ID to 236565.
If you have a GPU on the machine, make sure that the driver is compatible with OpenCL (basically Nvidia proprietary driver) and look at the logs in fahcontrol to see if there are any errors.
Can I do that with just nix or nixos not installed but nix-shell etcetera enabled ?
I got:
error: cannot unlink ‘/nix/store/c4s1vidgfhw0kp11fzhg4gmgfsibcixk-foldingathome.tar.gz/pkgs/applications/blockchains/stellar-core.nix’: Permission denied
error: opening file ‘/nix/store/c4s1vidgfhw0kp11fzhg4gmgfsibcixk-foldingathome.tar.gz/default.nix’: No such file or directory
when running nix-shell -p fahcontrol --run FAHControl
error: Package ‘fahviewer-7.5.1’ in /nix/store/p03yivl26zvk7v5c0yawrsk4wb7dzfnz-folding/folding/pkgs/applications/science/misc/foldingathome/viewer.nix:52 has an unfree license (‘unfree’), refusing to evaluate.
a) For `nixos-rebuild` you can set
{ nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.
b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
{ allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.
when trying this although I have the option a) in my config.
@ilikeavocadoes got the same error, seems it’s nix-shell that does not care if your config sets unFree to true. I sligthly changed the command line suggested by @pjones to make it to accept unfree.
@573 just wondering, what’s your uname -a or simply uname -r ? At first sight the error message is complaining as if you had a really old Linux kernel version.
Currently trying to fire up a qemu vm with fahclient. Side note: I am using home-manager and I have system-features = kvm nixos-test in my `~/.config/nix/nix.conf´.
Still, when firing ./result/bin/run-nixos-vm (built vm) getting:
qemu-system-x86_64: CPU model ‘host’ requires KVM
EDIT: Seems I have forgotten to build the vm prior running: nix-build '<nixpkgs/nixos>' -A vm --arg configuration "{ imports = [ ./vm.nix ]; }"
Seems nothing to do with system-features entering in this case/error directly.