// File: /workspace/github_cpp_makefile_star2_O1/richardposner[P]BioNetFit2/src/code/Swarm.cpp
// Function: Swarm::generateMPICommand(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
string Swarm::generateMPICommand(string cmd) {

	//sbatch << "mpirun -prepend-rank -np 1 " << runCmd << " load " << sConf_ << " : -np " << options.swarmSize << " " << runCmd << " particle 0 run " << sConf_ << endl;
	string newCmd = "mpirun -nooversubscribe ";
	if (options.hostfile.size()) {
		newCmd += "-hostfile " + options.hostfile + " ";
	}
	cout<<"Swarm::generateMPICommand may need some modifications 654\n";
	newCmd += "-tag-output -np 1 " + cmd + " -a load -c " + sConf_[0] + " : -nooversubscribe ";
	if (options.hostfile.size()) {
		newCmd += "-hostfile " + options.hostfile + " ";
	}
	cout<<"Swarm::generateMPICommand may need some modifications 654\n";
	newCmd += "-tag-output -np " + toString(options.swarmSize) + " " + cmd + " -t particle -p 0 -a run -c" + sConf_[0];

	if (options.saveClusterOutput) {
		newCmd += " > " + options.outputDir + "/" + options.jobName + "_cluster_output/" + options.jobName + " 2>&1";
	}
	return newCmd;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, 0xa0(%rsp)
movq %rax, (%rdi)
leaq 0x660f9(%rip), %rsi     # 0x100153
leaq 0x6610a(%rip), %rdx     # 0x10016b
callq 0x32210
leaq 0x17c0(%r14), %r12
cmpq $0x0, 0x17c8(%r14)
je 0x9a128
leaq 0x660ea(%rip), %rsi     # 0x10016c
leaq 0x20(%rsp), %rdi
movq %r12, %rdx
callq 0x319d8
leaq 0x673a7(%rip), %rsi     # 0x10143d
leaq 0x20(%rsp), %rdi
callq 0x233b0
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9a0c6
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x9a0ce
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x222b0
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x9a10d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9a128
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xdbe61(%rip), %rdi     # 0x175f90
leaq 0x66041(%rip), %rsi     # 0x100177
movl $0x3a, %edx
callq 0x22ab0
leaq 0x66440(%rip), %rsi     # 0x100587
leaq 0x60(%rsp), %rdi
movq %r15, %rdx
callq 0x319d8
leaq 0x66057(%rip), %rsi     # 0x1001b2
leaq 0x60(%rsp), %rdi
callq 0x233b0
leaq 0x50(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9a18c
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x9a192
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x40(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x1938(%r14), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
callq 0x222b0
leaq 0x30(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9a1e8
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x9a1f0
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x20(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x65fac(%rip), %rsi     # 0x1001bf
callq 0x233b0
leaq 0x10(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9a23e
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x9a245
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x222b0
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x9a284
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x9a29b
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x9a2b7
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9a2d2
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x229c0
cmpq $0x0, 0x17c8(%r14)
je 0x9a383
leaq 0x65e85(%rip), %rsi     # 0x10016c
leaq 0x20(%rsp), %rdi
movq %r12, %rdx
callq 0x319d8
leaq 0x67142(%rip), %rsi     # 0x10143d
leaq 0x20(%rsp), %rdi
callq 0x233b0
movq %rbp, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9a326
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x9a32d
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x222b0
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x9a36c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x9a383
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xdbc06(%rip), %rdi     # 0x175f90
leaq 0x65de6(%rip), %rsi     # 0x100177
movl $0x3a, %edx
callq 0x22ab0
movl 0x1620(%r14), %esi
leaq 0xa8(%rsp), %rdi
callq 0xbee9e
leaq 0x65e1e(%rip), %rcx     # 0x1001d4
leaq 0xa8(%rsp), %rdi
movl $0x10, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x22a80
leaq 0x90(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9a3fe
movq %rdx, 0x80(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x90(%rsp)
jmp 0x9a406
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x80(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x67011(%rip), %rsi     # 0x10143d
callq 0x233b0
leaq 0x70(%rsp), %rsi
movq %rsi, 0x60(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9a459
movq %rdx, 0x60(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x70(%rsp)
jmp 0x9a45f
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x60(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
callq 0x222b0
leaq 0x50(%rsp), %r15
movq %r15, 0x40(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9a4af
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x9a4b6
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x40(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x65d0c(%rip), %rsi     # 0x1001e5
callq 0x233b0
movq %r13, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9a501
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x9a509
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x20(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x1938(%r14), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
callq 0x222b0
movq %rbp, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9a559
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x9a560
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x222b0
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x9a59f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x9a5b6
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x9a5cd
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x9a5e9
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x80(%rsp), %rdi
cmpq %r12, %rdi
je 0x9a606
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xb8(%rsp), %r15
movq -0x10(%r15), %rdi
cmpq %r15, %rdi
je 0x9a627
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x229c0
cmpb $0x1, 0x1770(%r14)
jne 0x9a8c0
leaq 0x1500(%r14), %rdx
leaq 0x641b5(%rip), %rsi     # 0xfe7f8
leaq 0xa8(%rsp), %rdi
callq 0x319d8
leaq 0x65190(%rip), %rsi     # 0xff7e7
leaq 0xa8(%rsp), %rdi
callq 0x233b0
movq %r12, 0x80(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9a690
movq %rdx, 0x80(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x90(%rsp)
jmp 0x9a698
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x80(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x14c0(%r14), %rsi
movq 0x14c8(%r14), %rdx
callq 0x222b0
leaq 0x70(%rsp), %rsi
movq %rsi, 0x60(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9a6f2
movq %rdx, 0x60(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x70(%rsp)
jmp 0x9a6f8
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x60(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x65ae6(%rip), %rsi     # 0x100201
callq 0x233b0
leaq 0x50(%rsp), %rsi
movq %rsi, 0x40(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9a748
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x9a74e
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x40(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x14c0(%r14), %rsi
movq 0x14c8(%r14), %rdx
callq 0x222b0
movq %r13, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9a7a0
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x9a7a8
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x20(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x5e42d(%rip), %rsi     # 0xf8bf8
callq 0x233b0
movq %rbp, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9a7f1
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x9a7f8
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x222b0
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x9a837
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x9a84e
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x9a86a
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x9a886
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x80(%rsp), %rdi
cmpq %r12, %rdi
je 0x9a8a3
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xa8(%rsp), %rdi
cmpq %r15, %rdi
je 0x9a8c0
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %rbx, %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x9a8f3
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9a8f3
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x9a90f
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9a90f
movq %rax, %r14
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x9a930
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9a930
movq %rax, %r14
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x9a951
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9a951
movq %rax, %r14
movq 0x80(%rsp), %rdi
cmpq %r12, %rdi
je 0x9a973
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9a973
movq %rax, %r14
movq 0xa8(%rsp), %rdi
cmpq %r15, %rdi
jne 0x9aab2
jmp 0x9ab3b
jmp 0x9ab38
movq %rax, %r14
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x9a9ac
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9a9ac
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
jne 0x9a9f0
jmp 0x9ab3b
jmp 0x9ab38
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x9a9de
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9a9de
movq %rax, %r14
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9ab3b
movq 0x30(%rsp), %rsi
jmp 0x9ab2c
jmp 0x9ab38
movq %rax, %r14
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x9aa1d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9aa1d
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x9aa39
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9aa39
movq %rax, %r14
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x9aa5a
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9aa5a
movq %rax, %r14
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x9aa7b
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9aa7b
movq %rax, %r14
movq 0x80(%rsp), %rdi
cmpq %r12, %rdi
je 0x9aa9d
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9aa9d
movq %rax, %r14
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9ab3b
movq 0xb8(%rsp), %rsi
jmp 0x9ab2c
jmp 0x9ab38
movq %rax, %r14
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x9aadc
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9aadc
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x9aaf8
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9aaf8
movq %rax, %r14
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x9ab19
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9ab19
movq %rax, %r14
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9ab3b
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9ab3b
jmp 0x9ab38
movq %rax, %r14
movq (%rbx), %rdi
cmpq 0xa0(%rsp), %rdi
je 0x9ab5b
movq 0xa0(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x229c0
movq %r14, %rdi
callq 0x23240
nop