External Link Warning for SharePoint Online

I am looking for a solution to warn our Internal SharePoint Online users that they are leaving our Intranet if they click on a link that is not on our Internal network.

For example, a link to google. User clicks on link, and it typically opens in a new tab. I want to latch onto this process and insert a message like “You are about to visit an external website. We cannot guarantee the accuracy of this information … blah blah blah” on every link outside our organization.

I have found information for on-premise installations, but not sure how to do this in SharePoint Online. Any ideas?

I’m sure this questions exists, but for the life of me, I cannot locate it. Maybe a keywords issue on my end?

reactjs – Warning: Cannot update a component (`SearchingNameProvider`) while rendering a different component (`Searching`) React Context

  1. Tengo un componente Results que hace un fetch a la api de pokemon envía en el componente Card el resultado del fetch en la prop pokemons

  2. En el componente Card recibo la información y hago otro fetch con el nombre del pokemon, este componente muestra la imagen y el nombre del Pokémon
    Ahora al hacer click sobre sobre las imagenes de la izquierda, quiero mostrar los detalles de ese
    pokemon en el lado derecho, para eso hice un contexto

  3. En la carpeta contexts/searchingNameContext
    Cuando le doy click en Card.js a cada pokemon actualiza el estado mediante las funciones actualizadoras que estan en el cotext

  4. Tengo un componente llamado Searching.js y quiero introducir el nombre de un pokemon y mostralo en la parte derecha
    para eso quiero actualizar el estado global con las mismas funciones

  5. Ahora cuando cargo la pagina, hago click sobre algun pokemon se muestar al lado derecho los detalles de ese pokemon, ahora escribo el nombre de
    de un pokemon en el imput y efectivamente muestra el detalle del pokemon que escribí.

pero si vuelvo a hacer click en alguno de los elementos del lado izquierdo ya no funciona y muestra

index.js:1 Warning: Cannot update a component (SearchingNameProvider) while rendering a different component (Searching). To locate the bad setState() call inside Searching
Adjunto el repositorio por si desean echarle un ojo

===> https://github.com/jhonfe64/api.git

Gracias por la ayuda

//componente Searching

import React, {useState, useEffect, useContext} from 'react';
import styled from 'styled-components';
import {SearchingNameContext} from '../contexts/SearchingNameContext';


const Searching = () => {
    
    //lo que hay que hacer es actualizar los estados globales
    let {searchingName, changeSearchingName} = useContext(SearchingNameContext);
    let {pokemonType, changePokemonType} = useContext(SearchingNameContext);
    let {pokemonId, changePokemonId} = useContext(SearchingNameContext);
    let {pokemonImage, changePokemonImage} = useContext(SearchingNameContext);
    let {pokemonAbilities, changePokemonHabilities} = useContext(SearchingNameContext);

    const (btnClick, setBtnClick) = useState(false);
    const (inputValue, setInputValue) = useState('');
    const (fullInputvalue, setFullInputValue) = useState('');
    const (pokemon, setPokemon) = useState();

    const handleInputValue = (e) => {
        setInputValue(e.target.value);
    }

    const handleClick = (e) => {
        setBtnClick(true);
        e.preventDefault();
        setFullInputValue(inputValue);
    }
  
    useEffect(()=>{
        if(btnClick === true){
            fetch(`https://pokeapi.co/api/v2/pokemon/${fullInputvalue}`)
        .then((res)=>{
            return res.json();
        }).then((singlePokemon)=>{
            setPokemon(singlePokemon);
        })
        }
    },(btnClick, inputValue, fullInputvalue));
 

    return (
        <div>
            <SearchingPokemons>
                {
                    btnClick === true && pokemon ?(
                        changeSearchingName(pokemon.name),
                        changePokemonType(pokemon.types(0).type.name),
                        changePokemonId(pokemon.id),
                        changePokemonImage(pokemon.sprites.front_default),
                        changePokemonHabilities(pokemon.abilities)
                    )
                    
                     : ""
                }
                
                <PokemonInput onChange={handleInputValue} value={inputValue} placeholder="Search" type="text"/>
                <PokemonBtn onClick={handleClick}>Search</PokemonBtn>
            </SearchingPokemons>
        </div>
    );
}


const SearchingPokemons = styled.form`
    display: flex;
`
const PokemonInput = styled.input`
    width: 95%;
    padding: 8px;
    border-radius: 5px 0px 0px 5px;
    border: 2px solid #ecf0f1;
    border-right: none;
    &:focus {
        outline: none;
    }
`

const PokemonBtn = styled.button`
    background: red;
    border: none;
    width: 15%;
    color: #ffffff;
    border-radius: 0px 5px 5px 0px;
    &:focus {
        outline: none;
    }
`



export default Searching;

introducir la descripción de la imagen aquí

[MMO] Old Thread Warning

Admin submitted a new resource:

[MMO] Old Thread Warning – Warning in old threads.

The add-on will allow you to display a warning for users in old topics.

{
“lightbox_close”: “Close”,
“lightbox_next”: “Next”,
“lightbox_previous”: “Previous”,
“lightbox_error”: “The requested content cannot be loaded. Please try again later.”,
“lightbox_start_slideshow”: “Start slideshow”,
“lightbox_stop_slideshow”: “Stop slideshow”,
“lightbox_full_screen”: “Full screen”,
“lightbox_thumbnails”: “Thumbnails”,
“lightbox_download”: “Download”,
“lightbox_share”: “Share”,
“lightbox_zoom”: “Zoom”,
“lightbox_new_window”: “New window”,
“lightbox_toggle_sidebar”: “Toggle sidebar”
}

1588528688260.png
1588528699669.png

Read more

.

error handling – iOS14.5 update leads to warning in .catch – it sais: ‘_’ is uninhabited

Using Swift5.4, iOS14.5, Xcode12.5,

I use SwiftUI and Combine.

The newest iOS14.5 update leads to the following warning in my Combine stream:

enter image description here

As you can see, the warning sais:

Will never be executed

'_' is uninhabited, so this function body can never be executed

How do I have to use the .catch in a Combine stream now ?

(yesterday in iOS14.4, this code worked perfectly fine without waring)…

dovecot – Postfix Can’t Receive Internet Email – warning: SASL: Connect to /var/spool/postfix/private/auth failed

Using CentOS 8, I’ve setup dovecot and postfix and tested that:

  • I can sign in as an authenticated user
  • Read email (IMAP)
  • Send email to the same/different account on the server
  • Send email outbound, to an internet mail server
  • Server does not act as an open relay

I can’t receive email from an outside (internet) email server. I can clearly see attempts made to deliver email.

Inside /var/log/maillog I see the following lines (replacing the host name with <emailserver>:

Apr 25 22:27:48 <emailserver> postfix/submission/smtpd(565409): warning: SASL: Connect to /var/spool/postfix/private/auth failed: No such file or directory
Apr 25 22:27:48 <emailserver> postfix/submission/smtpd(565409): fatal: no SASL authentication mechanisms

A larger scope of the log (with debugging turned on, 00.00.0.000 is my email server’s internet ip):

Apr 25 22:27:23 <emailserver> postfix/submission/smtpd(565409): connect from unknown(00.00.0.000)
Apr 25 22:27:23 <emailserver> postfix/submission/smtpd(565409): disconnect from unknown(00.00.0.000) ehlo=1 mail=0/1 quit=1 commands=2/3
Apr 25 22:27:48 <emailserver> postfix/submission/smtpd(565409): connect from unknown(00.00.0.000)
Apr 25 22:27:48 <emailserver> postfix/submission/smtpd(565409): Anonymous TLS connection established from unknown(00.00.0.000): TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
Apr 25 22:27:48 <emailserver> postfix/submission/smtpd(565409): warning: SASL: Connect to /var/spool/postfix/private/auth failed: No such file or directory
Apr 25 22:27:48 <emailserver> postfix/submission/smtpd(565409): fatal: no SASL authentication mechanisms
Apr 25 22:27:49 <emailserver> postfix/master(404333): warning: process /usr/libexec/postfix/smtpd pid 565409 exit status 1
Apr 25 22:30:32 <emailserver> postfix/smtpd(565512): connect from <emailserver>.<tld>(00.00.0.000)
Apr 25 22:30:40 <emailserver> postfix/smtpd(565512): SSL_accept error from <emailserver>.<tld>(00.00.0.000): lost connection
Apr 25 22:30:40 <emailserver> postfix/smtpd(565512): lost connection after CONNECT from <emailserver>.<tld>(00.00.0.000)
Apr 25 22:30:40 <emailserver> postfix/smtpd(565512): disconnect from <emailserver>.<tld>(00.00.0.000) commands=0/0
Apr 25 22:32:02 <emailserver> postfix/smtpd(565532): warning: hostname zg-0416a-115.stretchoid.com does not resolve to address 192.241.214.121: Name or service not known
Apr 25 22:32:02 <emailserver> postfix/smtpd(565532): connect from unknown(192.241.214.121)
Apr 25 22:32:02 <emailserver> dovecot(403811): auth: Debug: Loading modules from directory: /usr/lib64/dovecot/auth
Apr 25 22:32:02 <emailserver> dovecot(403811): auth: Debug: Module loaded: /usr/lib64/dovecot/auth/lib20_auth_var_expand_crypt.so
Apr 25 22:32:02 <emailserver> dovecot(403811): auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so
Apr 25 22:32:02 <emailserver> dovecot(403811): auth: Debug: Read auth token secret from /var/run/dovecot/auth-token-secret.dat
Apr 25 22:32:02 <emailserver> postfix/smtpd(565532): fatal: no SASL authentication mechanisms
Apr 25 22:32:02 <emailserver> dovecot(403811): auth: Debug: auth client connected (pid=0)
Apr 25 22:32:03 <emailserver> postfix/master(404333): warning: process /usr/libexec/postfix/smtpd pid 565532 exit status 1
Apr 25 22:32:03 <emailserver> postfix/master(404333): warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 25 22:33:43 <emailserver> postfix/anvil(565533): statistics: max connection rate 1/60s for (smtp:192.241.214.121) at Apr 25 22:32:02
Apr 25 22:33:43 <emailserver> postfix/anvil(565533): statistics: max connection count 1 for (smtp:192.241.214.121) at Apr 25 22:32:02
Apr 25 22:33:43 <emailserver> postfix/anvil(565533): statistics: max cache size 1 at Apr 25 22:32:02
Apr 25 22:37:32 <emailserver> postfix/smtpd(565650): connect from unknown(37.49.225.144)
Apr 25 22:37:32 <emailserver> dovecot(403811): auth: Debug: Loading modules from directory: /usr/lib64/dovecot/auth
Apr 25 22:37:32 <emailserver> dovecot(403811): auth: Debug: Module loaded: /usr/lib64/dovecot/auth/lib20_auth_var_expand_crypt.so
Apr 25 22:37:32 <emailserver> dovecot(403811): auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so
Apr 25 22:37:32 <emailserver> dovecot(403811): auth: Debug: Read auth token secret from /var/run/dovecot/auth-token-secret.dat
Apr 25 22:37:32 <emailserver> dovecot(403811): auth: Debug: auth client connected (pid=0)
Apr 25 22:37:32 <emailserver> postfix/smtpd(565650): fatal: no SASL authentication mechanisms
Apr 25 22:37:33 <emailserver> postfix/master(404333): warning: process /usr/libexec/postfix/smtpd pid 565650 exit status 1
Apr 25 22:37:33 <emailserver> postfix/master(404333): warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 25 22:38:33 <emailserver> postfix/smtpd(565666): connect from unknown(00.00.0.000)
Apr 25 22:38:33 <emailserver> postfix/smtpd(565666): fatal: no SASL authentication mechanisms
Apr 25 22:38:33 <emailserver> dovecot(403811): auth: Debug: auth client connected (pid=0)
Apr 25 22:38:34 <emailserver> postfix/master(404333): warning: process /usr/libexec/postfix/smtpd pid 565666 exit status 1
Apr 25 22:38:34 <emailserver> postfix/master(404333): warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 25 22:39:35 <emailserver> postfix/smtpd(565697): connect from unknown(185.220.205.196)

I can clearly see the directory exists:

(root@emailserver ~)# ls -lZ /var/spool/postfix/private/auth
srw-rw----. 1 postfix postfix system_u:object_r:postfix_private_t:s0 0 Apr 18 23:58 /var/spool/postfix/private/auth

Also no SELinux denials/errors…

(root@emailserver ~)# grep "denied" /var/log/audit/audit.log
(root@emailserver ~)# grep "SELinux is preventing" /var/log/messages
(root@emailserver ~)#

The dovecot config checked against Connect to private/auth failed: No such file or directory:

(root@<emailserver> ~)# dovecot -n
# 2.3.8 (9df20d2db): /etc/dovecot/dovecot.conf
# OS: Linux 4.18.0 x86_64 CentOS Linux release
# Hostname: <emailserver>.<tld>
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login
auth_username_format = %n
first_valid_uid = 1000
mail_location = maildir:~/Maildir
mail_privileged_group = mail
mbox_write_locks = fcntl
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    auto = create
    special_use = Drafts
  }
  mailbox Junk {
    auto = create
    special_use = Junk
  }
  mailbox Sent {
    special_use = Sent
  }
  mailbox "Sent Messages" {
    special_use = Sent
  }
  mailbox Trash {
    auto = create
    special_use = Trash
  }
  prefix =
}
passdb {
  driver = pam
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-userdb {
    group = postfix
    mode = 0666
    user = postfix
  }
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0600
    user = postfix
  }
}
ssl_ca = </etc/pki/tls/certs/<emailserver>.<tld>.ca-bundle
ssl_cert = </etc/pki/tls/certs/<emailserver>_<tld>.crt
ssl_cipher_list = PROFILE=SYSTEM
ssl_key = # hidden, use -P to show it
userdb {
  driver = passwd
}
protocol lmtp {
  hostname = <emailserver>.<tld>
  postmaster_address = postmaster@<emailserver>.<tld>
}

The postfix config (I assume the ‘noanonymous’ has something to do with my problem?):

(root@<emailserver> ~)# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
compatibility_level = 2
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailbox_transport = lmtp:unix:private/dovecot-lmtp
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
meta_directory = /etc/postfix
mydestination = <emailserver>.<tld>, $myhostname, localhost.$mydomain, localhost
mydomain = <emailserver>.<tld>
myorigin = <emailserver>.<tld>
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix/README_FILES
sample_directory = /usr/share/doc/postfix/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
shlib_directory = /usr/lib64/postfix
smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
smtp_tls_CApath = /etc/pki/tls/certs/
smtp_tls_loglevel = 1
smtp_tls_security_level = may
smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_destination, permit
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = /var/spool/postfix/private/auth
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_tls_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_cert_file = /etc/pki/tls/certs/<emailserver>.<tld>.crt
smtpd_tls_key_file = /etc/pki/tls/private/<emailserver>_<tld>.pem
smtpd_tls_loglevel = 1
smtpd_tls_security_level = may
smtputf8_enable = no
unknown_local_recipient_reject_code = 550
virtual_transport = dovecot
(root@<emailserver> ~)#

The /etc/postfix/master.cf file:

#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master" or
# on-line: http://www.postfix.org/master.5.html).
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (no)    (never) (100)
# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd
      -o smtpd_sasl_auth_enable=yes
      -o smtpd_reject_unlisted_sender=yes
      #-o smtpd_recipient_restrictions=
      -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
      -o broken_sasl_auth_clients=yes
      -o smtpd_sasl_path=/var/spool/postfix/private/auth
smtps     inet  n       -       n       -       -       smtpd
      -o smtpd_sasl_auth_enable=yes
      -o smtpd_reject_unlisted_sender=yes
      -o smtpd_tls_wrappermode=yes
      #-o smtpd_recipient_restrictions=reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_destination, permit
      -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
      -o broken_sasl_auth_clients=yes
      -o smtpd_sasl_path=/var/spool/postfix/private/auth
#smtp      inet  n       -       n       -       1       postscreen
#smtpd     pass  -       -       n       -       -       smtpd
#dnsblog   unix  -       -       n       -       0       dnsblog
tlsproxy  unix  -       -       n       -       0       tlsproxy
submission inet n       -       y       -       -       smtpd
  -o syslog_name=postfix/submission
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_tls_auth_only=yes
#  -o smtpd_reject_unlisted_recipient=no
#  -o smtpd_client_restrictions=$mua_client_restrictions
#  -o smtpd_helo_restrictions=$mua_helo_restrictions
#  -o smtpd_sender_restrictions=$mua_sender_restrictions
  -o smtpd_sasl_security_options=noanonymous
  -o smtpd_sasl_local_domain=$myhostname
  #-o smtpd_sender_login_maps=hash:/etc/postfix/virtual
  -o smtpd_sender_restrictions=reject_sender_login_mismatch
  # -o smtpd_recipient_restrictions=reject_non_fqdn_recipient,reject_unknown_recipient_domain,permit_sasl_authenticated,reject
  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
  -o smtpd_sasl_type=dovecot
  #-o smtpd_sasl_path=private/auth
#smtps     inet  n       -       n       -       -       smtpd
#  -o syslog_name=postfix/smtps
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_reject_unlisted_recipient=no
#  -o smtpd_client_restrictions=$mua_client_restrictions
#  -o smtpd_helo_restrictions=$mua_helo_restrictions
#  -o smtpd_sender_restrictions=$mua_sender_restrictions
#  -o smtpd_recipient_restrictions=
#  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#628       inet  n       -       n       -       -       qmqpd
pickup    unix  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      unix  n       -       n       300     1       qmgr
#qmgr     unix  n       -       n       300     1       oqmgr
tlsmgr    unix  -       -       n       1000?   1       tlsmgr

Any help resolving this would be greatly appreciated.

❕NEWS – SEC member warning to coin investors | Proxies-free

SEC official Hester Peirce warned all coin investors. The official who participated in CoinDesk’s online broadcast answered many questions she was asked.

She did not neglect to warn about crypto investments in general and stated the following:

—“People buy and sell many things. Before you buy an asset, you need to know what you are investing your money in. If you are making these kinds of investments for entertainment, that’s okay, but you need to know that you are likely to lose money. Just following the crowds is not a good investment strategy. You have to do research and ask lots of questions. I am someone who believes that people themselves are responsible for the decisions made. You can make the decision to have fun or invest, but then don’t come to the state when you lose your money! ” —

What would you like to say about these warnings?

python – WARNING: Requirement ‘PyOpenGL‑3.1.5‑cp39‑cp39‑win_amd64.whl’ looks like a filename, but the file does not exist

I am trying to install PyOpenGL that includes freeglut. I dwonloaded the .whl file here

I executed the command:

    pip install PyOpenGL-3.1.5-cp39-cp39-win_amd64.whl

And I got an error message:

    WARNING: Requirement 'PyOpenGL‑3.1.5‑cp39‑cp39‑win_amd64.whl' looks like a filename, but the file does not exist
    ERROR: PyOpenGL‑3.1.5‑cp39‑cp39‑win_amd64.whl is not a valid wheel filename.

I don’t know if I have to put the .whl in a specific directory.

Instagram and Facebook shops disconnected without warning

Instagram and Facebook shops disconnected without warning – Ask Different

sharepoint online – Delegation warning in PowerApps for SortByColumns

In order to avoid the delegation limitation you want to avoid filtering SharePoint lists directly. Instead, you can simply query a variable that contains your entire list in memory.

The only tricky part here is to get the entire SharePoint list first. In order to do it, you want to get the list items in chunks of 200-or-so items. Consider this example:

// loading all meetings to memory:
ClearCollect(InMemoryMeetings,
  Filter('Meetings', ID > 0,  ID <= 200),
  Filter('Meetings', ID > 200, ID <= 400), 
  Filter('Meetings', ID > 400, ID <= 600), 
  Filter('Meetings', ID > 600, ID <= 800),
  Filter('Meetings', ID > 800, ID <= 1000),
  Filter('Meetings', ID > 1000, ID <= 1200),
  Filter('Meetings', ID > 1200, ID <= 1400),
  Filter('Meetings', ID > 1400, ID <= 1600),
  Filter('Meetings', ID > 1600, ID <= 1800),
  Filter('Meetings', ID > 1800, ID <= 2000),
  Filter('Meetings', ID > 2000, ID <= 2200),
  Filter('Meetings', ID > 2200, ID <= 2400),
  Filter('Meetings', ID > 2400, ID <= 2600),
  Filter('Meetings', ID > 2600, ID <= 2800),
  Filter('Meetings', ID > 2800, ID <= 3000),
  Filter('Meetings', ID > 3000, ID <= 3200)
);

Then you can filter against this variable instead. Even using complex quieries like these:

Filter(
    InMemoryMeetings,
    Or(
        StartsWith(TextSearch.Text, Text('Meeting Number')),
        TextSearch.Text in Text('Start Date', "($-en-US)yyyy-mm-dd"),
        TextSearch.Text in Text('End Date', "($-en-US)yyyy-mm-dd"),
        ID exactin Filter(InMemoryMotions, TextSearch.Text in 'Motion Text').MeetingID, 
        And(
            ID exactin Filter(InMemoryMotions, FirstWord in 'Motion Text').MeetingID,
            ID exactin Filter(InMemoryMotions, SecondWord in 'Motion Text').MeetingID  
        ),
        And(
            ID exactin Filter(InMemoryMotions, FirstWord in Keywords).MeetingID,
            ID exactin Filter(InMemoryMotions, SecondWord in Keywords).MeetingID  
        )
    )
)

warning messages – Can not install openmpi with intel oneapi

I have installed intel oneapi in ubuntu and it seems to work fine as ifort -V returns the correct intel compilor so do icc -V and icpc -V. The trouble is when I try to install openmpi, either it shows some error during sudo make like can not find “libimf.so” or, after several attepmts, when finally I got it installed it did not take ifort or icc as compilors and mpif90 -V does not work; mpif90 –version returns gfortran. I need to have intel as the compiler. What to do? This is how I configured before “sudo make”

./configure --prefix=/usr/local/ f77=/opt/intel/oneapi/compiler/2021.2.0/linux/bin/intel64/ifort fc=/opt/intel/oneapi/compiler/2021.2.0/linux/bin/intel64/ifort f90=/opt/intel/oneapi/compiler/2021.2.0/linux/bin/intel64/ifort icc=/opt/intel/oneapi/compiler/2021.2.0/linux/bin/intel64/icc icpc=/opt/intel/oneapi/compiler/2021.2.0/linux/bin/intel64/icpc

as par my documentation of cosmoMC mpfif90 -V should return intel fortran but here is what it says:

gfortran: error: unrecognized command line option ‘-V’

mpiifort etc works fine but I do not know if that would be enough for CosmoMC installation. Please help.

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123