Thanks a lot Juerg, <div><br></div><div>It was a memory problem indeed. I have reduced the BOX and the CUTOFF and it seems to work. </div><div><br></div><div><br></div><div>Salome</div><div><br></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Wednesday, 24 March 2021 at 15:07:46 UTC+1 jgh wrote:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi
<br>
<br>there are several parts of your input that can be improved, but
<br>for a system of your size:
<br>Box 40 40 40 Angstrom with CUTOFF 200
<br>1000 basis function
<br>you need approx. 20 GBytes of memory.
<br>
<br>So my guess is still lack of memory.
<br>
<br>regards
<br>
<br>Juerg Hutter
<br>
<br>--------------------------------------------------------------
<br>Juerg Hutter                         Phone : <a href="tel:+41%2044%20635%2044%2091" value="+41446354491" target="_blank" rel="nofollow">++41 44 635 4491</a>
<br>Institut für Chemie C                FAX   : <a href="tel:+41%2044%20635%2068%2038" value="+41446356838" target="_blank" rel="nofollow">++41 44 635 6838</a>
<br>Universität Zürich                   E-mail: <a href data-email-masked rel="nofollow">h...@chem.uzh.ch</a>
<br>Winterthurerstrasse 190
<br>CH-8057 Zürich, Switzerland
<br>---------------------------------------------------------------
<br>
<br>-----<a href data-email-masked rel="nofollow">c...@googlegroups.com</a> wrote: -----
<br>To: "cp2k" <<a href data-email-masked rel="nofollow">c...@googlegroups.com</a>>
<br>From: "<a href data-email-masked rel="nofollow">salo...@gmail.com</a>" 
<br>Sent by: <a href data-email-masked rel="nofollow">c...@googlegroups.com</a>
<br>Date: 03/24/2021 02:44PM
<br>Subject: Re: [CP2K:14997] QM geometry optimisation on a Transition Metal (Fe2+)
<br>
<br>Dear Juerg, 
<br>
<br>It shouldn't crash unless I used >3900MB. I'll try to increase the memory when submitting the job.
<br>Sorry, about the files. I cannot attach the files I have copied them to this email. 
<br>
<br>Thanks a lot!
<br>
<br>This is the input file: 
<br>&GLOBAL
<br>   PROJECT AMT
<br>   RUN_TYPE GEO_OPT
<br>   PRINT_LEVEL LOW
<br> &END GLOBAL
<br> 
<br>
<br> &FORCE_EVAL
<br>   METHOD QS
<br>   &SUBSYS
<br>     &CELL
<br>       ABC 40 40 40
<br>     &END CELL
<br>     &COORD
<br> C         -6.42000        2.27900       47.86600
<br>...
<br>   &END COORD
<br>     &KIND H
<br>       BASIS_SET DZVP-GTH-PADE
<br>       POTENTIAL GTH-PADE-q1
<br>     &END KIND
<br>     &KIND C
<br>       BASIS_SET DZVP-GTH-PADE
<br>       POTENTIAL GTH-PADE-q4
<br>     &END KIND
<br>     &KIND N
<br>       BASIS_SET DZVP-GTH-PADE
<br>       POTENTIAL GTH-PADE-q5
<br>     &END KIND
<br>     &KIND O
<br>       BASIS_SET DZVP-GTH-PADE
<br>       POTENTIAL GTH-PADE-q6
<br>     &END KIND
<br>     &KIND Fe
<br>       BASIS_SET DZV-GTH-PADE
<br>       POTENTIAL GTH-PADE-q16
<br>     &END KIND
<br> 
<br>
<br> 
<br>
<br>   &END SUBSYS
<br>   &DFT
<br>     CHARGE -2
<br>     BASIS_SET_FILE_NAME ./BASIS_SET
<br>     POTENTIAL_FILE_NAME ./POTENTIAL
<br>     &QS
<br>       EPS_DEFAULT 1.0E-7
<br>     &END QS
<br>     &MGRID
<br>       CUTOFF 200
<br>       NGRIDS 4
<br>       REL_CUTOFF 30
<br>     &END MGRID
<br>     &SCF
<br>       SCF_GUESS ATOMIC
<br>       EPS_SCF 1.0E-05
<br>       MAX_SCF 200
<br>       &DIAGONALIZATION T
<br>         ALGORITHM STANDARD
<br>       &END DIAGONALIZATION
<br>       &MIXING T
<br>         ALPHA 0.5
<br>         METHOD PULAY_MIXING
<br>         NPULAY 5
<br>       &END MIXING
<br>       &PRINT
<br>         &RESTART OFF
<br>         &END RESTART
<br>       &END PRINT
<br>     &END SCF
<br>     &XC
<br>       &XC_FUNCTIONAL PADE
<br>       &END XC_FUNCTIONAL
<br>     &END XC
<br>   &END DFT
<br> &END FORCE_EVAL
<br> &MOTION
<br>   &GEO_OPT
<br>     TYPE MINIMIZATION
<br>     MAX_DR    1.0E-03
<br>     MAX_FORCE 1.0E-03
<br>     RMS_DR    1.0E-03
<br>     RMS_FORCE 1.0E-03
<br>     MAX_ITER 200
<br>     OPTIMIZER CG
<br>     &CG
<br>       MAX_STEEP_STEPS  0
<br>       RESTART_LIMIT 9.0E-01
<br>     &END CG
<br>   &END GEO_OPT
<br>   &CONSTRAINT
<br>     &FIXED_ATOMS
<br>       COMPONENTS_TO_FIX XYZ
<br>       LIST 1
<br>     &END FIXED_ATOMS
<br>   &END CONSTRAINT
<br> &END MOTION
<br> 
<br>And this is the output I get: 
<br>
<br>DBCSR| Multiplication driver                                               BLAS
<br>  DBCSR| Multrec recursion limit                                              512
<br>  DBCSR| Multiplication stack size                                           1000
<br>  DBCSR| Maximum elements for images                                    UNLIMITED
<br>  DBCSR| Multiplicative factor virtual images                                   1
<br>  DBCSR| Multiplication size stacks                                             3
<br>  DBCSR| Number of 3D layers                                               SINGLE
<br>  DBCSR| Use MPI memory allocation                                              T
<br>  DBCSR| Use RMA algorithm                                                      F
<br>  DBCSR| Use Communication thread                                               T
<br>  DBCSR| Communication thread load                                             87
<br> 
<br>
<br> 
<br>
<br>   **** **** ******  **  PROGRAM STARTED AT               2021-03-24 14:18:50.840
<br>  ***** ** ***  *** **   PROGRAM STARTED ON                            pirineus29
<br>  **    ****   ******    PROGRAM STARTED BY                              ubafar01
<br>  ***** **    ** ** **   PROGRAM PROCESS ID                                 35914
<br>   **** **  *******  **  PROGRAM STARTED IN                 /tmp/ubafar01/1736286
<br> 
<br>
<br>  CP2K| version string:                    CP2K version 7.0 (Development Version)
<br>  CP2K| source code revision number:
<br>  CP2K| cp2kflags: libint fftw3 parallel mpi3 scalapack libderiv_max_am1=5 libint
<br>  CP2K|            _max_am=5 max_contr=4 mkl
<br>  CP2K| is freely available from                            <a href="https://www.cp2k.org/" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en-GB&q=https://www.cp2k.org/&source=gmail&ust=1616681495029000&usg=AFQjCNG4cZbKl1RDnuv1_aD3rw-k_ZszXA">https://www.cp2k.org/</a>
<br>  CP2K| Program compiled at                         Thu Jun 14 14:14:04 CEST 2018
<br>  CP2K| Program compiled on                                             pirineus1
<br>  CP2K| Program compiled for                                   Linux-x86-64-intel
<br>  CP2K| Data directory path                /prod/apps/cp2k/src/cp2k-6.1/cp2k/data
<br>  CP2K| Input file name                                                   AMT.inp
<br> 
<br>
<br>  GLOBAL| Force Environment number                                              1
<br>  GLOBAL| Basis set file name                                         ./BASIS_SET
<br>  GLOBAL| Potential file name                                         ./POTENTIAL
<br>  GLOBAL| MM Potential file name                                     MM_POTENTIAL
<br>  GLOBAL| Coordinate file name                                      __STD_INPUT__
<br>  GLOBAL| Method name                                                        CP2K
<br>  GLOBAL| Project name                                                        AMT
<br>  GLOBAL| Preferred FFT library                                             FFTW3
<br>  GLOBAL| Preferred diagonalization lib.                                       SL
<br>  GLOBAL| Run type                                                        GEO_OPT
<br>  GLOBAL| All-to-all communication in single precision                          F
<br>  GLOBAL| FFTs using library dependent lengths                                  F
<br>  GLOBAL| Global print level                                                  LOW
<br>  GLOBAL| Total number of message passing processes                             1
<br>  GLOBAL| Number of threads for this process                                    1
<br>  GLOBAL| This output is from process                                           0
<br>  GLOBAL| CPU model name :  Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz
<br> 
<br>
<br>  MEMORY| system memory details [Kb]
<br>  MEMORY|                        rank 0           min           max       average
<br>  MEMORY| MemTotal            196510368     196510368     196510368     196510368
<br>  MEMORY| MemFree             127368532     127368532     127368532     127368532
<br>  MEMORY| Buffers                347976        347976        347976        347976
<br>  MEMORY| Cached               46386224      46386224      46386224      46386224
<br>  MEMORY| Slab                  1120960       1120960       1120960       1120960
<br>  MEMORY| SReclaimable           827652        827652        827652        827652
<br>  MEMORY| MemLikelyFree       174930384     174930384     174930384     174930384
<br> 
<br>
<br> 
<br>
<br>  GENERATE|  Preliminary Number of Bonds generated:                             0
<br>  GENERATE|  Achieved consistency in connectivity generation.
<br> 
<br>
<br>  *******************************************************************************
<br>  *******************************************************************************
<br>  **                                                                           **
<br>  **     #####                         ##              ##                      **
<br>  **    ##   ##            ##          ##              ##                      **
<br>  **   ##     ##                       ##            ######                    **
<br>  **   ##     ##  ##   ##  ##   #####  ##  ##   ####   ##    #####    #####    **
<br>  **   ##     ##  ##   ##  ##  ##      ## ##   ##      ##   ##   ##  ##   ##   **
<br>  **   ##  ## ##  ##   ##  ##  ##      ####     ###    ##   ######   ######    **
<br>  **    ##  ###   ##   ##  ##  ##      ## ##      ##   ##   ##       ##        **
<br>  **     #######   #####   ##   #####  ##  ##  ####    ##    #####   ##        **
<br>  **           ##                                                    ##        **
<br>  **                                                                           **
<br>  **                                                ... make the atoms dance   **
<br>  **                                                                           **
<br>  **            Copyright (C) by CP2K developers group (2000 - 2018)           **
<br>  **                                                                           **
<br>  *******************************************************************************
<br>  TOTAL NUMBERS AND MAXIMUM NUMBERS
<br> 
<br>
<br>   Total number of            - Atomic kinds:                                   5
<br>                              - Atoms:                                         91
<br>                              - Shell sets:                                   181
<br>                              - Shells:                                       381
<br>                              - Primitive Cartesian functions:                456
<br>                              - Cartesian basis functions:                    939
<br>                              - Spherical basis functions:                    885
<br> 
<br>
<br>   Maximum angular momentum of- Orbital basis functions:                        2
<br>                              - Local part of the GTH pseudopotential:          2
<br>                              - Non-local part of the GTH pseudopotential:      3
<br> 
<br>
<br> 
<br>
<br>  SCF PARAMETERS         Density guess:                                    ATOMIC
<br>                         --------------------------------------------------------
<br>                         max_scf:                                             200
<br>                         max_scf_history:                                       0
<br>                         max_diis:                                              4
<br>                         --------------------------------------------------------
<br>                         eps_scf:                                        1.00E-05
<br>                         eps_scf_history:                                0.00E+00
<br>                         eps_diis:                                       1.00E-01
<br>                         eps_eigval:                                     1.00E-05
<br>                         --------------------------------------------------------
<br>                         level_shift [a.u.]:                                 0.00
<br>                         --------------------------------------------------------
<br>                         Mixing method:                              PULAY_MIXING
<br>                                                 charge density mixing in g-space
<br>                         --------------------------------------------------------
<br>                         No outer SCF
<br> 
<br>
<br>
<br>Salome
<br>
<br>  
<br>  -- 
<br> You received this message because you are subscribed to the Google Groups "cp2k" group.
<br> To unsubscribe from this group and stop receiving emails from it, send an email to <a href data-email-masked rel="nofollow">cp...@googlegroups.com</a>.
<br> To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/a124f8ca-0ccd-437d-893b-5a6f8cb763e1n%40googlegroups.com" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en-GB&q=https://groups.google.com/d/msgid/cp2k/a124f8ca-0ccd-437d-893b-5a6f8cb763e1n%2540googlegroups.com&source=gmail&ust=1616681495030000&usg=AFQjCNHhVQIkk4cshWDpTiEdndtk_9mvjg">https://groups.google.com/d/msgid/cp2k/a124f8ca-0ccd-437d-893b-5a6f8cb763e1n%40googlegroups.com</a>.
<br> 
<br></blockquote></div>