Questions tagged [cray]

Cray Inc. is a supercomputer manufacturer based in Seattle, Washington. The company provides software targeting their hardware including compilers and MPI wrappers.

Cray Inc. is a supercomputer manufacturer based in Seattle, Washington. The company's predecessor, Cray Research Inc., was founded in 1972 by computer designer Seymour Cray. In 2000 the bulk of Cray Research was sold the Seattle based Tera Computer Company, with the later taking the brand of the former.

51 questions
1
vote
0 answers

Fortran code executes under Intel and GNU, fails under Cray

I have made this program as simple as I can: module buffers complex(8), allocatable :: iobuff(:,:) end module buffers program useAllocate use buffers integer(kind=4) :: rc=0 character(len=16) :: instr integer(kind=8) :: abwds integer(kind=4) ::…
bob.sacamento
  • 6,283
  • 10
  • 56
  • 115
1
vote
1 answer

Cray compiler asks for a flag, then doesn't recognize it

I am trying to compile a code with crayftn. I get an error message /opt/cray/pe/cce/10.0.1/binutils/x86_64/x86_64-pc-linux-gnu/bin/ld: failed to convert GOTPCREL relocation; relink with --no-relax So it wants the flag --no-relax? OK, I can do…
bob.sacamento
  • 6,283
  • 10
  • 56
  • 115
1
vote
2 answers

Why is CMake find_package ignoring linker flags?

I'm developing on a Cray system that requires '-dynamic' be passed before dynamic libraries can be found. In my case I'm trying to link with libtiff. The command cc main.cpp -ltiff fails with a file not found but cc main.cpp -dynamic -ltiff works. I…
John K
  • 496
  • 3
  • 14
1
vote
0 answers

Relaxed implicit type conversion between integer and logical using the Cray Fortran Compiler (cce 8.7.9)

I need to compile some legacy Fortran code using the Cray Fortran compiler. The project is a massive codebase, and I would like to make as few changes to the code as possible to get it to compile. A simplified version of the code that will not…
1
vote
1 answer

The correct way to introduce preprocessing directives into a Fortran code for the Cray compiler

Am trying to compile a Fortran code with the Cray compiler. I have a standard preprocessing ifdef block in the code: #ifdef DEBUG ! print extra info #endif Cray doesn't like this at all. It tells me #ifdef DEBUG ^ ftn-100 crayftn:…
bob.sacamento
  • 6,283
  • 10
  • 56
  • 115
1
vote
1 answer

cray CC wrapper cmake find_package blas

I just created a three line CMakeLists.txt as follows under a test directory with no files under it. I tried export lib path etc and none of the basic tricks worked. How to make this work? cmake_minimum_required(VERSION 3.6…
Ramakrishnan Kannan
  • 604
  • 1
  • 11
  • 24
1
vote
1 answer

How can I compile CASTEP 18.1 on Cray XC30?

How do I compile the CASTEP 18.1 periodic electronic structure code to run in parallel on a Cray XC30 MPP system?
AndyT
  • 491
  • 2
  • 10
1
vote
0 answers

Cray C compiler doesn't like "calloc"

This very simple code runs fine when compiled with GNU, Intel, or PGI (which is really GNU, I think?). Under Cray, it never makes it to "debug6"; it fails in the "calloc" call, returning an "Illegal instruction" error. Anyone see a problem? EDIT:…
bob.sacamento
  • 6,283
  • 10
  • 56
  • 115
1
vote
1 answer

How to use GNU parallel (bash scripting) with aprun command on Cray XE6 compute nodes (Unix like env)?

I am trying to run 16 instances on mpi4py python script: hello.py. I stored in s.txt 16 commands of this sort: python /lustre/4_mpi4py/hello.py > 01.out I am submitting this in Cray cluster via aprun command like this: aprun -n 32 sh -c 'parallel…
user2458189
  • 93
  • 16
1
vote
1 answer

configure keeps finding tcmalloc. How?

I'm building NWChem on Cray. libtcmalloc_minimal is already added to an archive file by the cc in my Cray environment. In my configure routine, it explicitly appends a second -ltcmalloc_minimal resulting in a multiple definition and a configure…
Levi Barnes
  • 357
  • 3
  • 12
1
vote
1 answer

On Cray systems running Linux, how can I submit multiple qsub requests using aprun in an automated BASH script?

Specifically, Cray requires a special command (aprun) embedded within the qsub request to execute the job on a batch node (Cray defaults to running on login/compute nodes without the aprun syntax). When hand-keying a qsub request to Cray Linux…
1
vote
0 answers

Fortran write to file works weirdly with different compilers

So I have a snippet of code writing 9 variables to a file: if (rank == 0) then write (filehandle,*) a,b,c,d,e,f,g,h,i endif But the code gives me different results on different machines / compilers: If I use a PathScale compiler on a Cray…
1
vote
1 answer

Compiling OpenACC Fortran code with Cray compiler

My attempt to compile an OpenACC Fortan code with the Cray Fortran compiler ... crayftn -o msqcomp -h omp -h acc msquared.f90 fails with the error message ftn-1350 crayftn: WARNING in command line Command line option "-hacc" is being ignored…
bob.sacamento
  • 6,283
  • 10
  • 56
  • 115
1
vote
1 answer

How do I compile VASP 5.4.1 on a Cray XC

I want to compile the latest version of VASP 5 (5.4.1) on a Cray XC MPP machine. Does anyone have the settings I can use? The VASP distribution does not come with an example for Cray. The build system has changed from the 5.3.5 version.
AndyT
  • 491
  • 2
  • 10
1
vote
2 answers

gcc error when declaring reference to reference type

In the OpenCV library there is a typedef const _InputArray& InputArray; In our code we have the following function definition: void wimshow(const String& winName, InputArray &img) { When compiling this the following error occurs: error: cannot…
Callahan
  • 474
  • 1
  • 9
  • 22