[go-nuts] Maintaining a connection to Postgresql during database failover

2023-12-31 Thread Dean Schulze
I have a web service in Gin that calls Postgresql running on AWS RDS with multi-az failover. When I reboot with failover the primary database and failover starts calls to the web service hang without even getting to the event handler. Once the failover is complete calls to the web service

Re: [go-nuts] The docs for secretbox seem very wrong

2023-10-09 Thread Dean Schulze
first > parameter to get a fresh slice allocated for you by the append(), but in > hot codepaths involving cryptography, being able to preallocate and reuse > storage (e.g. via sync.Pool) can give you significant reduction in GC > pressure. > > - Dave > > On Mon, Oct 9,

Re: [go-nuts] The docs for secretbox seem very wrong

2023-10-09 Thread Dean Schulze
ear, by explicitly stating that they > return the appended-to slice.0 > > On Mon, Oct 9, 2023 at 3:46 PM Dean Schulze wrote: > >> If the docs are correct, how do you append to nil? That's what the docs >> say. Take a look at them. >> >> Your code example shows

Re: [go-nuts] The docs for secretbox seem very wrong

2023-10-09 Thread Dean Schulze
If the docs are correct, how do you append to nil? That's what the docs say. Take a look at them. Your code example shows the first parameter to Seal() can be nil. So what does that parameter do? How do you append to it? On Sunday, October 8, 2023 at 11:19:13 PM UTC-6 Axel Wagner wrote: >

[go-nuts] The docs for secretbox seem very wrong

2023-10-08 Thread Dean Schulze
The docs for secretbox.Seal say: func Seal(out, message []byte, nonce *[24]byte, key *[32]byte) []byte Seal appends an encrypted and authenticated copy of message to out, which must not overlap message. The key and nonce pair must be

Re: [go-nuts] go get created directories with exclamation points

2023-01-04 Thread Dean Schulze
etBrains, since it knows how to > handle those escaped capital letters. > > -- Marcin > > On Wed, Jan 4, 2023 at 8:30 AM Dean Schulze wrote: > >> I did go get to download some Azure SDK for Go modules. This created >> directories with exclamation points in their names.

Re: [go-nuts] Executing a tar command from within a Go program

2022-04-20 Thread Dean Schulze
rather than just extracting a file from a compressed archive. On Wednesday, April 20, 2022 at 10:28:06 AM UTC-6 wagner riffel wrote: > On Wed Apr 20, 2022 at 6:16 PM CEST, Dean Schulze wrote: > > I need to execute this tar command > > > > *tar xzf dir1/dir2/somefile.tgz

[go-nuts] Executing a tar command from within a Go program

2022-04-20 Thread Dean Schulze
I need to execute this tar command *tar xzf dir1/dir2/somefile.tgz --directory=dir1/dir2/* from within a Go program. I've verified that it works from the command line. I've tried using *argStr := "xzf dir1/dir2/somefile.tgz --directory=dir1/dir2/"output, err := exec.Command("tar",

Re: [go-nuts] Changing channel from unbuffered to buffered prevents goroutine from running

2022-02-11 Thread Dean Schulze
. On Friday, February 11, 2022 at 8:06:55 AM UTC-7 Dean Schulze wrote: > The WaitGroup works if wg.Add() is called within the goroutine. The only > purpose for the WaitGroup is to keep main from exiting before the goroutine > has completed. > > Moving wg.Add() outside of th

Re: [go-nuts] Changing channel from unbuffered to buffered prevents goroutine from running

2022-02-11 Thread Dean Schulze
close() calls should be in the goroutine otherwise the channels could be closed when the function exits while the goroutine is still running. On Friday, February 11, 2022 at 12:47:09 AM UTC-7 Ian Lance Taylor wrote: > On Thu, Feb 10, 2022, 9:52 PM Dean Schulze wrote: > >> Here is

Re: [go-nuts] Changing channel from unbuffered to buffered prevents goroutine from running

2022-02-11 Thread Dean Schulze
-7 Ian Lance Taylor wrote: > On Thu, Feb 10, 2022, 9:52 PM Dean Schulze wrote: > >> Here is an exercise using channels and select in a goroutine. If the >> disconnect channel is changed to a buffered channel the goroutine doesn't >> run at all. >> >>

[go-nuts] Changing channel from unbuffered to buffered prevents goroutine from running

2022-02-10 Thread Dean Schulze
Here is an exercise using channels and select in a goroutine. If the disconnect channel is changed to a buffered channel the goroutine doesn't run at all. Why does changing from an unbuffered to a buffered channel prevent running the goroutine? *

[go-nuts] Where are the golang.org docs on channels?

2021-09-18 Thread Dean Schulze
The only mention of channel in the offical docs is a link to a YouTube video . Aren't there some docs from golang.org on channels? -- You received this message because you are subscribed to the Google Groups "golang-nuts"

Re: [go-nuts] smtp.SendMail not using the from argument

2021-09-11 Thread Dean Schulze
at 22:03:32 UTC+1 dean.w@gmail.com > wrote: > >> It could be that I'm not using smtp.SendMail() correctly, which is why I >> posted it here. Thanks for your guess, though. >> >> On Thursday, September 9, 2021 at 2:31:11 PM UTC-6 rol...@gmail.com >> wrote: >&g

Re: [go-nuts] smtp.SendMail not using the from argument

2021-09-09 Thread Dean Schulze
It could be that I'm not using smtp.SendMail() correctly, which is why I posted it here. Thanks for your guess, though. On Thursday, September 9, 2021 at 2:31:11 PM UTC-6 rol...@gmail.com wrote: > Hello, > > Am Do., 9. Sept. 2021 um 20:19 Uhr schrieb Dean Schulze < > dean.

[go-nuts] smtp.SendMail not using the from argument

2021-09-09 Thread Dean Schulze
I'm sending emails with smtp.SendMail() via gmail. I set the from argument to smtp.SendMail() to a different email address than my gmail username, but the emails still get sent with the From: as my gmail address. Do I need to do something else to change the From: in the emails, or is gmail

Re: [go-nuts] Does the module name have to include the repo name when you publish a Go module?

2021-09-07 Thread Dean Schulze
is hosted on a different domain. > > On Tue, Sep 7, 2021 at 1:05 PM Dean Schulze wrote: > >> Your first paragraph seems to say "no" to my question. But then this >> seems to say "yes" to my question >> >> "In short, the go command needs to

Re: [go-nuts] Does the module name have to include the repo name when you publish a Go module?

2021-09-07 Thread Dean Schulze
ur module is hosted there, > you don't need to stand up a server for that URL. Also, if a path component > ends with ".git", ".hg", etc, the go command will use everything up to > there as the repository URL without performing the lookup. > > > On Tue, Sep 7

[go-nuts] Does the module name have to include the repo name when you publish a Go module?

2021-09-07 Thread Dean Schulze
If you are going to publish a Go module does the module name have to include the repo name? I couldn't find this documented anywhere but through trial and error I've discovered that it is required. I named my module like this and published it to github: *module key-value-mod* In another

[go-nuts] How to use packages and modules with git repositories on private servers

2020-12-08 Thread Dean Schulze
I couldn't get the information I needed when I posted this question on a couple of forums, so I've posted a detailed explanation of how to use packages and modules with git repositories on private servers

[go-nuts] Re: go get not downloading a module under a repository from BitBucket

2020-11-08 Thread Dean Schulze
I created the tag *git tag integration-common/util/v0.0.1* and verified that it got pushed to bitbucket. When I `go get` the tag it shows go get bitbucket.org/orgname/reponame@integration-common/util/v0.0.1 go: bitbucket.org/orgname/reponame/integration-common/util/v0.0.1 => v0.0.1 but

[go-nuts] go get not downloading a module under a repository from BitBucket

2020-11-07 Thread Dean Schulze
In my git repo (bitbucket.org) I have reponame/ .git/ integration1/ integration2/ integration-common/ └── util ├── go.mod └── readascii.go The module directory is a subdirectory of the git repository. The repository is tagged with v0.0.1. Heres the go.mod module

[go-nuts] go install puts my library .a file in the local directory instead of first component of GOPATH

2020-09-06 Thread Dean Schulze
I have a library package like this: └── src └── datepackage └── dateutil.go My GOPATH is set like this: */home/dean/src/golang/go3p:* where /home/dean/src/golang/go3p is where go get installs packages and is the directory above my src/ directory. When I execute *go install

[go-nuts] Re: Getting 410 error from https://sum.golang.org/lookup/github.com for a private github repo

2020-05-18 Thread Dean Schulze
Just verified that this is not due to the repo being private. It happens if the repo is public too. On Monday, May 18, 2020 at 2:02:38 PM UTC-6, Dean Schulze wrote: > > Go get doesn't work with private servers that don't have a web serve set > up on them. So I've switched to a pri

[go-nuts] Getting 410 error from https://sum.golang.org/lookup/github.com for a private github repo

2020-05-18 Thread Dean Schulze
Go get doesn't work with private servers that don't have a web serve set up on them. So I've switched to a private repo on github.com. I'm getting a 410 error now from some proxy. Here's the command: go get github.com/dwschulze/shippy-service-consignment/proto/consignment I get this error:

Re: [go-nuts] Converting a C char[] to []byte of string with cgo

2020-04-30 Thread Dean Schulze
That works. The problem I had earlier with a panic was caused by my C library which was returning null as an error condition. Once the C code was fixed it worked as you said. Thanks. On Thu, Apr 30, 2020 at 2:18 PM Jan Mercl <0xj...@gmail.com> wrote: > On Thu, Apr 30, 2020 at 10:0

Re: [go-nuts] Converting a C char[] to []byte of string with cgo

2020-04-30 Thread Dean Schulze
> > That compiles but it still panics: > > test: bad machine line11=(null), return > panic: runtime error: invalid memory address or nil pointer dereference > [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4949f2] > > goroutine 1 [running]: > main.(*LineStruct).MachineName(...) >

Re: [go-nuts] Converting a C char[] to []byte of string with cgo

2020-04-30 Thread Dean Schulze
; C.GoString((C.char*)()) > > (untested) > > > On Thu, Apr 30, 2020 at 1:06 PM Dean Schulze > wrote: > >> That gives this error (which I've gotten with just about everything I >> try): >> >> cannot use _name (type *[25]_Ctype_char) as type *_Ct

Re: [go-nuts] Converting a C char[] to []byte of string with cgo

2020-04-30 Thread Dean Schulze
Mercl wrote: > > On Thu, Apr 30, 2020 at 8:17 PM Dean Schulze > wrote: > > > > I must be missing something pretty simple, but I have a C struct like > this: > > > > typedef struct line > > { > > char hostname[HOSTNAME_MAX]; > >

[go-nuts] Re: Converting a C char[] to []byte of string with cgo

2020-04-30 Thread Dean Schulze
I've also tried this var src [24]C.char = p.mach_ip and this var src *[24]C.char = _ip and both give panics. > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email

[go-nuts] Converting a C char[] to []byte of string with cgo

2020-04-30 Thread Dean Schulze
I must be missing something pretty simple, but I have a C struct like this: typedef struct line { char hostname[HOSTNAME_MAX]; char ip[IP_MAX]; ... } When I try to do the simple thing C.GoString(p.hostname) I get an error like cannot use p.hostname (type [25]_Ctype_char) as type

[go-nuts] Re: cgo can't find .so in same directory

2020-04-30 Thread Dean Schulze
t; exeutable > LD_LIBRARY_PATH=${PWD} ./app > > > On Thursday, April 30, 2020 at 7:19:36 AM UTC+3, Dean Schulze wrote: >> >> I'm following a simple example >> <https://www.thegoldfish.org/2019/04/using-c-libraries-from-go/> of >> using cgo to call a C

[go-nuts] cgo can't find .so in same directory

2020-04-29 Thread Dean Schulze
I'm following a simple example of using cgo to call a C library function from go. Executing the binary gives error while loading shared libraries: libperson.so: cannot open shared object file: No such file or director Here's

[slurm-users] Slurm not detecting gpu after swapping out gpu

2020-04-27 Thread Dean Schulze
I replaced a Nvidia v100 with a t4. Now slurm thinks there is no gpu present: $ sudo scontrol show node fabricnode2 NodeName=fabricnode2 Arch=x86_64 CoresPerSocket=6 CPUAlloc=0 CPUTot=12 CPULoad=0.02 AvailableFeatures=(null) ActiveFeatures=(null) Gres=gpu:nvidia:1

Re: [slurm-users] Munge decode failing on new node

2020-04-23 Thread Dean Schulze
I went through the exercise of making the other user the same on the slurmctld as on the slurmd nodes, but that had no effect. I still have 3 nodes that have connectivity and one node where slurmd cannot contact slurmctld. That node has ssh connectivity to and from slurmctld node, but no slurm

[slurm-users] One node won't connect and false positive messages from slurm every 1 minute 40 seconds

2020-04-22 Thread Dean Schulze
I added two new nodes to my cluster (5 nodes total including controller). One of the new nodes works, but the other one can't connect to the controller. Both new nodes were created the same way except that the one that can't connect to the controller has some extra packages installed to build

Re: [slurm-users] Munge decode failing on new node

2020-04-17 Thread Dean Schulze
gt; 2. If (1) works, try this from the node running slurmctld to the > problem node > slurm-node$ echo foo | ssh node munge | unmunge > > > > *From:* slurm-users [mailto:slurm-users-boun...@lists.schedmd.com] *On > Behalf Of *Dean Schulze > *Sent:* Friday, April 17, 2020

Re: [slurm-users] Munge decode failing on new node

2020-04-17 Thread Dean Schulze
; > > > *From:* slurm-users [mailto:slurm-users-boun...@lists.schedmd.com] *On > Behalf Of *Dean Schulze > *Sent:* Friday, April 17, 2020 3:40 PM > *To:* Slurm User Community List > *Subject:* Re: [slurm-users] Munge decode failing on new node > > > > There is no ntp service r

[slurm-users] Alternative to munge for use with slurm?

2020-04-17 Thread Dean Schulze
Is there an alternative to munge when running slurm? Munge issues are a common problem in slurm, and munge doesn't give any useful information when a problem occurs. An alternative that at least gave some useful information when a problem occurs would be a big improvement. Thanks.

Re: [slurm-users] Munge decode failing on new node

2020-04-17 Thread Dean Schulze
ing time seems odd to me > > On Wed, 15 Apr 2020 at 19:59, Dean Schulze > wrote: > >> I've installed two new nodes onto my slurm cluster. One node works, but >> the other one complains about an invalid credential for munge. I've >> verified that the munge.key

[go-nuts] How can I syslog without PID

2020-04-16 Thread Dean Schulze
I have a C program with a syslog command like this: syslog(LOG_INFO, "slurmctrld: initializing resources"); It outputs the first line below in the syslog. This C code executes a golang binary that also does syslog commands: Syslogger, err = syslog.New(syslog.LOG_INFO, "slurmctld")

Re: [slurm-users] Munge decode failing on new node

2020-04-15 Thread Dean Schulze
> *From:* slurm-users [mailto:slurm-users-boun...@lists.schedmd.com] *On > Behalf Of *Dean Schulze > *Sent:* Wednesday, April 15, 2020 1:57 PM > *To:* Slurm User Community List > *Subject:* [slurm-users] Munge decode failing on new node > > > > I've installed two new no

[slurm-users] Munge decode failing on new node

2020-04-15 Thread Dean Schulze
I've installed two new nodes onto my slurm cluster. One node works, but the other one complains about an invalid credential for munge. I've verified that the munge.key is the same as on all other nodes with sudo cksum /etc/munge/munge.key I recopied a munge.key from a node that works. I've

[go-nuts] Using modules with private repos

2020-03-11 Thread Dean Schulze
The docs for modules assume that you'll be publishing your golang modules (actually a git push) to the few public repos that golang has built in support for. I want to use a private repo, but there doesn't seem to be any docs for that. This post

Re: [go-nuts] Re: Where is the version number for a golang module declared?

2020-03-11 Thread Dean Schulze
ntroduction, and note that https://golang.org/doc/code.html is now > written for module mode rather than GOPATH mode. > > On Wed, Mar 11, 2020 at 2:33 PM Dean Schulze > wrote: > >> Well, that was going to be my next question (how do I install a module >> from a local git repo or

[go-nuts] Re: Where is the version number for a golang module declared?

2020-03-11 Thread Dean Schulze
Well, that was going to be my next question (how do I install a module from a local git repo or directory). If I understand you correctly go modules require a remote git repo, even if they are used only one machine. That should be made clear in the docs. Modules get cached locally in

[go-nuts] Re: Where is the version number for a golang module declared?

2020-03-10 Thread Dean Schulze
This blog entry uses git tags. It didn't mention branches. Are tags the only way to declare a version number? Also, what if my git repo is local to my laptop? I'd think I should still be able to publish versioned modules to my local GOPATH

[go-nuts] Where is the version number for a golang module declared?

2020-03-10 Thread Dean Schulze
The various examples I've seen for using golang modules describe how to specify the version number of a dependency, but I haven't seen how to declare the version number of a module. Some examples suggest adding a /vN to the import path where N is the major version number, but don't say

[slurm-users] Is there a select plugin API that gets called when a job is or has been queued?

2020-02-27 Thread Dean Schulze
This is a code level question. I'm writing a select plugin and I want the plugin to take some action when a job is going to be or has been queued instead of run immediately. Does one of the select plugin APIs get called in either case? I was trying to check for this in select_p_job_test() but

Re: [slurm-users] Slurm version 20.02.0 is now available

2020-02-26 Thread Dean Schulze
la). Naturally, omitting libcons_common.a from your > plugin doesn't help if you use other functions defined in select/common. > > > > > > > On Feb 26, 2020, at 00:48 , Dean Schulze > wrote: > > > > There was a major refactoring between the 19.05 and 20.02

Re: [slurm-users] Slurm version 20.02.0 is now available

2020-02-25 Thread Dean Schulze
There was a major refactoring between the 19.05 and 20.02 code. Most of the callbacks for select plugins were moved to cons_common. I have a plugin for 19.05 that depends on two of those callbacks: select_p_job_begin() and select_p_job_fini(). My plugin is a copy of the select/cons_res plugin,

Re: [slurm-users] Slurm version 20.02.0 is now available

2020-02-25 Thread Dean Schulze
Hi Tim, I'm very interested in the "configless" setup for slurm. Is the setup for configless documented somewhere? Dean Schulze 303.909.3245 mobile On Tue, Feb 25, 2020 at 11:57 AM Tim Wickberg wrote: > After 9 months of development and testing we are pleased to announce the &

Re: [slurm-users] Why does the make install path get hard coded into the slurmd binary?

2020-02-18 Thread Dean Schulze
-pam > --with-pam_dir=/lib/x86_64-linux-gnu/security/ --without-shared-libslurm > > Regards, > Alex > > On Tue, Feb 18, 2020 at 2:45 PM Dean Schulze > wrote: > >> I built slurm on one machine (controller) and copied the new slurmd >> binary to a node. When I sta

[slurm-users] Why does the make install path get hard coded into the slurmd binary?

2020-02-18 Thread Dean Schulze
I built slurm on one machine (controller) and copied the new slurmd binary to a node. When I started it systemctl it failed with the message: fatal: Unable to find slurmstepd file at /home/dean/src/slurm.versions/slurm-19.05.4.build/ The path it refers to is what I gave to ./configure

[go-nuts] exec.Command() always returns error status of 1 when it was executed successfully

2020-02-17 Thread Dean Schulze
This command always sets the err to "exit status 1" even though it executes correctly: out, err := exec.Command("/bin/bash", "-c", "lspci | grep -i vga | grep -i nvidia").CombinedOutput() I expected it to return 0 when executing successfully. What am I missing? -- You received this message

Re: [slurm-users] How should I configure a node with Autodetect=nvml?

2020-02-11 Thread Dean Schulze
the gres.conf from the node. On Mon, Feb 10, 2020 at 11:41 PM Chris Samuel wrote: > On Monday, 10 February 2020 12:11:30 PM PST Dean Schulze wrote: > > > With this configuration I get this message every second in my > slurmctld.log > > file: > > > > error: _slurm_rpc_

Re: [slurm-users] How to use Autodetect=nvml in gres.conf

2020-02-07 Thread Dean Schulze
alf Of > Stephan Roth > > Sent: Friday, February 7, 2020 2:23 AM > > To: slurm-users@lists.schedmd.com > > Subject: Re: [slurm-users] How to use Autodetect=nvml in gres.conf > > > > On 05.02.20 21:06, Dean Schulze wrote: > > > I need to dynamically config

[slurm-users] Nodes stuck in drain state and sending Invalid Argument every second

2020-02-06 Thread Dean Schulze
I moved two nodes to another controller and the two nodes will not come out of the drain state now. I've rebooted the hosts but they are still stuck in the drain state. There is nothing in the location given for saving state so I can't understand why a reboot doesn't clear this. Here's the node

[slurm-users] How to use Autodetect=nvml in gres.conf

2020-02-05 Thread Dean Schulze
I need to dynamically configure gpus on my nodes. The gres.conf doc says to use Autodetect=nvml in gres.conf instead of adding configuration details to each gpu in gres.conf. The docs aren't really clear about this because they show an example with the details for each gpu: AutoDetect=nvml

[slurm-users] sbatch script won't accept --gres that requires more than 1 gpu

2020-02-03 Thread Dean Schulze
When I run an sbatch script with the line #SBATCH --gres=gpu:gp100:1 it runs. When I change it to #SBATCH --gres=gpu:gp100:3 it fails with "Requested node configuration is not available". But I have a node with 4 gp100s available. Here's my slurm.conf: NodeName=liqidos-dean-node1 CPUs=2

[slurm-users] How do I add a library for the linker in Makefile.in

2020-01-30 Thread Dean Schulze
I'm writing a plugin (based on the select/cons_res plugin). I need to add this library for the linker when my plugin is built: /usr/lib/x86_64-linux-gnu/libcurl.a Apparently I need to add this library to the Makefile.in. Where do I add this? Do I need to add this in the Makefile.am too?

Re: [slurm-users] Question about slurm source code and libraries

2020-01-24 Thread Dean Schulze
; used the regular web frontend for viewing queue and node state. > > [1] https://edf-hpc.github.io/slurm-web/index.html > [2] https://edf-hpc.github.io/slurm-web/api.html > > > On Jan 24, 2020, at 1:22 PM, Dean Schulze > wrote: > > > > External Email Warning

[slurm-users] Question about slurm source code and libraries

2020-01-24 Thread Dean Schulze
Since there isn't a list for slurm development I'll ask here. Does the slurm code include a library for making REST calls? I'm writing a plugin that will make REST calls and if slurm already has one I'll use that, otherwise I'll find one with an appropriate open source license for my plugin.

Re: [slurm-users] Can't get node out of drain state

2020-01-23 Thread Dean Schulze
fysik.dtu.dk/niflheim/Slurm_configuration#configure-firewall-for-slurm-daemons > > Also check that slurmd daemons on the compute nodes can talk to each other > (not just to the master). e.g. bottom of > https://slurm.schedmd.com/big_sys.html > > Regards, > Alex > > On Thu, Jan 23, 2020 a

[slurm-users] Can't get node out of drain state

2020-01-23 Thread Dean Schulze
I've tried the normal things with scontrol ( https://blog.redbranch.net/2015/12/26/resetting-drained-slurm-node/), but I have a node that will not come out of the drain state. I've also done a hard reboot and tried again. Are there any other remedies? Thanks.

[slurm-users] Spoofing a GPU on a slurm node virtual machine

2020-01-22 Thread Dean Schulze
I'm trying to spoof a gpu on a Centos 7.7 virtual machine that is a slurm node. I just want slurm to see that this node has a gpu. I'm not going to execute any code that uses a gpu. I created a character device with: mknod nvidia0 c 1 1 Here's what it looks like: [root@liqidos-dean-node1 dev]#

Re: [slurm-users] sbatch sending the working directory from the controller to the node

2020-01-21 Thread Dean Schulze
processes *srun* will propagate the current > working directory, unless *--chdir*=<*path*> is specified, in which case > *path* will become the working directory for the remote processes. > > > > William > > > > *From:* slurm-users *On Behalf Of > *Dean Schulze > *Sent:

[slurm-users] sbatch sending the working directory from the controller to the node

2020-01-21 Thread Dean Schulze
I run this sbatch script from the controller: === #!/bin/bash #SBATCH --job-name=test_job #SBATCH --mail-type=NONE# Mail events (NONE, BEGIN, END, FAIL, ALL) #SBATCH --ntasks=1 #SBATCH --mem=1gb #SBATCH --time=00:05:00 # Time limit hrs:min:sec #SBATCH

Re: [slurm-users] Node can't run simple job when STATUS is up and STATE is idle

2020-01-21 Thread Dean Schulze
AM Brian Johanson wrote: > > On 1/21/2020 12:32 AM, Chris Samuel wrote: > > On 20/1/20 3:00 pm, Dean Schulze wrote: > > > >> There's either a problem with the source code I cloned from github, > >> or there is a problem when the controller runs on Ubuntu 19 and t

Re: [slurm-users] Node can't run simple job when STATUS is up and STATE is idle

2020-01-20 Thread Dean Schulze
ounds possible that OOM Killer or such >> may be killing slurmd >> >> Brian Andrus >> On 1/20/2020 1:12 PM, Dean Schulze wrote: >> >> If I restart slurmd the asterisk goes away. Then I can run the job once >> and the asterisk is back, and the node remains in comp*

[slurm-users] Downgraded to slurm 19.05.4 and now slrumctld won't start because of incompatible state

2020-01-20 Thread Dean Schulze
This is what I get from systemctl status slurmctld: fatal: Can not recover last_tres state, incompatible version, got 8960 need >= 8192 <= 8704, start with '-i' to ignore this Starting it with the -i option doesn't do anything. Where does slurm store this state so I can get rid of it? Thanks.

Re: [slurm-users] Node can't run simple job when STATUS is up and STATE is idle

2020-01-20 Thread Dean Schulze
he connectivity from the slurmctld host to the compute node (telnet > may be enough). You can also check the slurmctld logs for more information. > > Regards, > Carlos > > On Mon, 20 Jan 2020 at 21:04, Dean Schulze > wrote: > >> I've got a node running on CentOS 7.7 b

Re: [slurm-users] Node can't run simple job when STATUS is up and STATE is idle

2020-01-20 Thread Dean Schulze
f the slurmd on the node and > check the connectivity from the slurmctld host to the compute node (telnet > may be enough). You can also check the slurmctld logs for more information. > > Regards, > Carlos > > On Mon, 20 Jan 2020 at 21:04, Dean Schulze > wrote: > >> I'v

[slurm-users] Adding to / upgrading slurm with a new plugin

2020-01-13 Thread Dean Schulze
I'm writing a select plugin for slurm, and when I do an srun command with the new plugin as the SelectType in slurm.conf I get this error: srun: error: Task launch for 32.0 failed on node slurmnode2: Header lengths are longer than data received The new plugin is just a copy of the cons_res

[slurm-users] Can I add a new slurm plugin to an existing installation, or do I have to rebuild and reinstall with the plugin source?

2020-01-07 Thread Dean Schulze
The SchedMD docs for adding a plugin describe adding source code, Makefiles, and other modifications for a new plugin to a git branch in the source tree. This makes it sound like I would have to rebuild and reinstall slurm in order to use a new plugin that I

[slurm-users] Need to execute a binary with arguments on a node

2019-12-18 Thread Dean Schulze
This is a rookie question. I can use the srun command to execute a simple command like "ls" or "hostname" on a node. But I haven't found a way to add arguments like "ls -lart". What I need to do is execute a binary that takes arguments (like "a.out arg1 arg2 arg3) that exists on the node. Is

[slurm-users] slurmd.service fails to register

2019-12-16 Thread Dean Schulze
I have my controller running (slurmctld and slrumdbd) and my controller and node host can ping each other by name so they resolve via /etc/hosts settings. When I try to start the slurmd.service it shows that it is active (running), but gives these errors: Unable to register: Zero Bytes were

[slurm-users] Where is the slurmstepd location configured?

2019-12-16 Thread Dean Schulze
When I try to start a node it fails with this message: fatal: Unable to find slurmstepd file at /storage/slurm-build/sbin/slurmstepd The location /storage/slurm-build/sbin/slurmstepd is where the binaries were built by make (I used ./configure --prefix=/storage/slurm-build). After I created the

[slurm-users] slurmdbd.service gives: Unable to initialize auth/munge authentication plugin

2019-12-15 Thread Dean Schulze
My slurm controller was running this week on a virtual machine on my laptop. When I try to use it while logged in on the VPN I get this error from the slurmdbd.service: Unable to initialize auth/munge authentication plugin Could this be due to having a different IP address since I'm on the VPN?

Re: [slurm-users] Need help with controller issues

2019-12-12 Thread Dean Schulze
statements. I'll open another thread about those. On Tue, Dec 10, 2019 at 2:05 PM Dean Schulze wrote: > I'm trying to set up my first slurm installation following these > instructions: > > https://github.com/nateGeorge/slurm_gpu_ubuntu > > I've had to deviate a little bit

Re: [slurm-users] Need help with controller issues

2019-12-12 Thread Dean Schulze
;1" | #define SLURM_VERSION_STRING "19.05.4" | /* end confdefs.h. */ | #include | int | main () | { | | MYSQL mysql; | (void) mysql_init(); | (void) mysql_close(); | | ; | return 0; | } configure:5041: WARNING: *** MySQL test program execution failed. A thread-safe MySQL library is req

Re: [slurm-users] Need help with controller issues

2019-12-11 Thread Dean Schulze
MySQL database server binaries and system database setup ii mysql-server-core-5.7 5.7.28-0ubuntu0.18.04.4 amd64MySQL database server binaries On Tue, Dec 10, 2019 at 2:05 PM Dean Schulze wrote: > I'm trying to set up my first sl

Re: [slurm-users] Need help with controller issues

2019-12-10 Thread Dean Schulze
This must have been fixed by now, though. I built using slurm-19.05.2. Does anyone know if this has been fixed in 19.05.4? On Tue, Dec 10, 2019 at 2:05 PM Dean Schulze wrote: > I'm trying to set up my first slurm installation following these > instructions: > > https://github.co

Re: [slurm-users] Need help with controller issues

2019-12-10 Thread Dean Schulze
config that has to be modified to use maria instead of mysql? On Tue, Dec 10, 2019 at 2:13 PM Renfro, Michael wrote: > What do you get from > > systemctl status slurmdbd > systemctl status slurmctld > > I’m assuming at least slurmdbd isn’t running. > > > On Dec

[slurm-users] Need help with controller issues

2019-12-10 Thread Dean Schulze
I'm trying to set up my first slurm installation following these instructions: https://github.com/nateGeorge/slurm_gpu_ubuntu I've had to deviate a little bit because I'm using virtual machines that don't have GPUs, so I don't have a gres.conf file and in /etc/slurm/slurm.conf I don't have an

RE: [Bug 1838122] Re: Opening the Settings dialog locks the desktop

2019-07-28 Thread Dean Schulze
I can't recall which of these may have corresponded with having to use the power off button on the laptop. $ ls -la /var/crash total 20144 drwxrwsrwt 2 root whoopsie4096 Jul 27 07:36 . drwxr-xr-x 14 root root4096 Apr 16 13:10 .. -rw-r- 1 dean whoopsie 5103430 Jul

[Bug 1838122] Re: Opening the Settings dialog locks the desktop

2019-07-26 Thread Dean Schulze
Running ubuntu-bug on the .crash file in /var/crash gave an internal error popup. Trying your instructions on point 2 on this URL: https://errors.ubuntu.com/user/b3e0d3deed6257fc1b9ae70c24b2a09705d4bb29b1c4e2619a81359775c05b871501564c588e4ed7c7807dfaafe1dd95c6ecb2b3cd1f89744001cf8ffbb9266 shows

[Bug 1838122] [NEW] Opening the Settings dialog locks the desktop

2019-07-26 Thread Dean Schulze
Public bug reported: I have the Settings icon locked to the favorites bar. When I click on it the wait cursor comes up and the desktop is locked. I cannot shutdown, except through the power button on my laptop. Ubuntu 19.04 on Dell XPS15-9560. ** Affects: ubuntu Importance: Undecided

[ansible-project] ansible sudo example in docs fails

2018-10-12 Thread Dean Schulze
I'm new to Ansible and working through the Getting Started in the docs. It shows to use sudo mode just add --sudo flag, but that fails: ansible tv -m ping (works) ansible tv -m ping --sudo (fails with sudo: a password is required) Shouldn't Ansible prompt me for a password for sudo mode?

Re: How to display pdf in JavaFX using PDFBox 2.0.8

2017-12-20 Thread Dean Schulze
ageImage, null); > } > . > > The FXML correspondant: > > fitToWidth="true" pannable="true"> > > > > > > > > > > Clauidus > > On Tue, Dec 19, 2017 at 8:05 PM, Dean Schulze <dean.w.schu...@gmail.com> &g

How to display pdf in JavaFX using PDFBox 2.0.8

2017-12-19 Thread Dean Schulze
I need to display a .pdf file in a JavaFX application. I've found various examples of others doing this PDFBox 1.8 with PDPage.convertToImage(); and then displaying the image. But there is no PDPage.convertToImage() in PDFBox 2.0. How do I display a .pdf file in PDFBox 2.0? Thanks.

[Bug 1530405] Re: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [kerneloops:814]

2017-09-25 Thread Dean Schulze
A friend pointed out that the problem I was experiencing on shutdown (Dell XPS-15 9560) was due to the X.org Nouveau driver. I switched to NVidia driver (375.66) and my laptop shuts down normally now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Kernel-packages] [Bug 1530405] Re: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [kerneloops:814]

2017-09-25 Thread Dean Schulze
A friend pointed out that the problem I was experiencing on shutdown (Dell XPS-15 9560) was due to the X.org Nouveau driver. I switched to NVidia driver (375.66) and my laptop shuts down normally now. -- You received this bug notification because you are a member of Kernel Packages, which is

[Bug 1530405] Re: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [kerneloops:814]

2017-08-04 Thread Dean Schulze
I installed updates yesterday (August 3) and now the OS shutdown command does nothing except for hide the mouse cursor and leave the desktop hung. No response from keyboard or mouse. I now have to do a hard shutdown using the power button. Executing "shutdown" from a terminal does nothing.

[Kernel-packages] [Bug 1530405] Re: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [kerneloops:814]

2017-08-04 Thread Dean Schulze
I installed updates yesterday (August 3) and now the OS shutdown command does nothing except for hide the mouse cursor and leave the desktop hung. No response from keyboard or mouse. I now have to do a hard shutdown using the power button. Executing "shutdown" from a terminal does nothing.

[Bug 1530405] Re: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [kerneloops:814]

2017-07-25 Thread Dean Schulze
I get this error every time I shutdown, starting yesterday 2017-07-24. I have to finish shutting down by holding down the power button for several seconds. lshw hangs the system completely. This never happened before yesterday so it must be a recent patch or change of some sort. $ uname -a

[Kernel-packages] [Bug 1530405] Re: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [kerneloops:814]

2017-07-25 Thread Dean Schulze
I get this error every time I shutdown, starting yesterday 2017-07-24. I have to finish shutting down by holding down the power button for several seconds. lshw hangs the system completely. This never happened before yesterday so it must be a recent patch or change of some sort. $ uname -a

Re: Is there a way to make mvn default to Java 8?

2017-01-13 Thread Dean Schulze
why you want > shared company/team/product/buildenv parents. > > Gruss > Bernd > -- > http://bernd.eckenfels.net > > > > > On Fri, Jan 13, 2017 at 5:51 PM +0100, "Dean Schulze" < > dean.w.schu...@gmail.com> wrote: > > > > > > &g

Is there a way to make mvn default to Java 8?

2017-01-13 Thread Dean Schulze
I would like to avoid having to add 1.8 1.8 to every pom.xml. Is there a global setting I can set in mvn to make Java 8 the default so I don't have to add this to every pom.xml?

[grpc-io] Re: Eclipse - Maven - grpc integration problems

2016-12-20 Thread Dean Schulze
The problem was that the auto build in eclipse keeps erasing the target/ directory where the generated files are stored. -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email

  1   2   >